~ubuntu-branches/ubuntu/wily/mysql-5.6/wily

« back to all changes in this revision

Viewing changes to storage/innobase/handler/ha_innodb.cc

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-04-16 20:07:10 UTC
  • mto: (1.3.9 vivid-proposed)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20150416200710-pcrsa022082zj46k
Tags: upstream-5.6.24
ImportĀ upstreamĀ versionĀ 5.6.24

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All Rights Reserved.
 
3
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All Rights Reserved.
4
4
Copyright (c) 2008, 2009 Google Inc.
5
5
Copyright (c) 2009, Percona Inc.
6
6
Copyright (c) 2012, Facebook Inc.
2696
2696
        return(trx && trx->mysql_thd && THDVAR(trx->mysql_thd, strict_mode));
2697
2697
}
2698
2698
 
2699
 
/**********************************************************************//**
2700
 
Determines if the current MySQL thread is running in strict mode.
2701
 
If thd==NULL, THDVAR returns the global value of innodb-strict-mode.
2702
 
@return TRUE if strict */
2703
 
UNIV_INLINE
2704
 
ibool
2705
 
thd_is_strict(
2706
 
/*==========*/
2707
 
        THD*    thd)    /*!< in: MySQL thread descriptor */
2708
 
{
2709
 
        return(THDVAR(thd, strict_mode));
2710
 
}
2711
 
 
2712
2699
/**************************************************************//**
2713
2700
Resets some fields of a prebuilt struct. The template is used in fast
2714
2701
retrieval of just those column values MySQL needs in its processing. */