An error occurred fetching the project authors.
  1. 28 May, 2007 1 commit
    • unknown's avatar
      Fix for bug #28121 "INSERT or UPDATE into DOUBLE(200,0) field being truncated to 31 digits" · e3af3c21
      unknown authored
      When storing a large number to a FLOAT or DOUBLE field with fixed length, it could be incorrectly truncated if the field's length was greater than 31.
      
      This patch also does some code cleanups to be able to reuse code which is common between Field_float::store() and Field_double::store().
      
      
      include/m_string.h:
        Added declarations for log_10 and log_01 from strtod.c
      mysql-test/r/type_float.result:
        Added the testcase for bug #28121 "INSERT or UPDATE into DOUBLE(200,0) field being truncated to 31 digits"
      mysql-test/t/type_float.test:
        Added the testcase for bug #28121 "INSERT or UPDATE into DOUBLE(200,0) field being truncated to 31 digits"
      sql/field.cc:
        Moved common code from Field_float::store() and Field_double:store() to Field_real::truncate()
        Fixed the algorithm to not truncate large input numbers if the field length is greater than 31.
        Fixed rounding to not depend on FLT_MAX/DBL_MAX constants.
      sql/field.h:
        Moved not_fixed member from Field_double to Field_real to allow code reuse between Field_float::store() and Field_double::store()
        Added truncate() method to Field_real which is used by both Field_float and Field_double
      sql/init.cc:
        log_10[] and log_01[] are now defined as statical arrays in strtod.c, no need to pre-computed them.
      sql/item_cmpfunc.cc:
        log_01[] now starts from 1e0, not from 1e-1 for consistency.
      sql/mysql_priv.h:
        Moved log_10[] and log_01[] from mysqld.cc to libmystrings.
      sql/mysqld.cc:
        Moved log_10[] and log_01[] from mysqld.cc to libmystrings.
      strings/strtod.c:
        Define and use log_10[] and log_01[] as static arrays of constants instead of values pre-computed at startup.
      e3af3c21
  2. 24 May, 2007 1 commit
    • unknown's avatar
      Bug#26664 test suite times out on OS X 64bit · 945f3c2c
      unknown authored
       - The "mysql client in mysqld"(which is used by
         replication and federated) should use alarms instead of setting
         socket timeout value if the rest of the server uses alarm. By
         always calling 'my_net_set_write_timeout'
         or 'my_net_set_read_timeout' when changing the timeout value(s), the
         selection whether to use alarms or timeouts will be handled by
         ifdef's in those two functions. 
       - Move declaration of 'vio_timeout' into "vio_priv.h"
      
      
      include/mysql_com.h:
        Move the net_set_*_timeout function declarations to mysql_com.h and
        rename to my_net_set_*_timeout to avoid name clashes
      include/violite.h:
        Move declaration of 'vio_timeout' to vio_priv.h (to make
        the function as private as possible)
      libmysql/libmysql.c:
        Use my_net_read_timeout or my_net_write_timeout when setting
        the timeouts. Move the global variables for my_net_read/my_write_timeout
        into the only place where they are used. Thus removing them...
      server-tools/instance-manager/mysql_connection.cc:
        Use my_net_read_timeout or my_net_write_timeout when setting the timeouts
      sql-common/client.c:
        Use my_net_read_timeout or my_net_write_timeout when setting the timeouts
      sql/mysql_priv.h:
        Move the net_set_*_timeout function declarations to mysql_com.h
      sql/net_serv.cc:
        No need to cast the net->write_timeout value from "uint" to "uint"
      sql/set_var.cc:
        Rename net_set_*_timeout to my_net_set_*_timeout
      sql/sql_client.cc:
        Use my_net_read_timeout or my_net_write_timeout when setting the timeouts
      sql/sql_parse.cc:
        Rename net_set_*_timeout to my_net_set_*_timeout
      sql/sql_repl.cc:
        Rename net_set_*_timeout to my_net_set_*_timeout
      vio/vio_priv.h:
        Move declaration of 'vio_timeout' to vio_priv.h
      vio/viosocket.c:
        Cleanup 'vio_timeout'
         - Use "const void*" on POSIX and "const char*" on windows for
           setsockopt
         - Add DBUG_PRINT's
         - Add comment about why we don't have an implementation of
          vio_timeout for platforms not supporting SO_SNDTIMEO or SO_RCVTIMEO
      945f3c2c
  3. 22 May, 2007 1 commit
    • unknown's avatar
      Fix for bug #21476: stack overflow crashes server; error-message stack reservation too small · d076bcbc
      unknown authored
      Increase STACK_BUFF_ALLOC to avoid execution_constants test failure on the hpita2.
      
      
      sql/mysql_priv.h:
        Fix for bug #21476: stack overflow crashes server; error-message stack reservation too small
          - due to the failing execution_constants test on the hpita2, 
            increase STACK_BUFF_ALLOC, that is used in the Item_func::fix_fields() to 
            allocate on the stack a "dummy" buffer large enough for the corresponding exec.
      d076bcbc
  4. 16 May, 2007 1 commit
    • unknown's avatar
      Backport of TIME->MYSQL_TIME / Y2K fixset · b5e4f54a
      unknown authored
         
      Made year 2000 handling more uniform
      Removed year 2000 handling out from calc_days()
      The above removes some bugs in date/datetimes with year between 0 and 200
      Now we get a note when we insert a datetime value into a date column
      For default values to CREATE, don't give errors for warning level NOTE
      Fixed some compiler failures
      Added library ws2_32 for windows compilation (needed if we want to compile with IOCP support)
      Removed duplicate typedef TIME and replaced it with MYSQL_TIME
      
      Better (more complete) fix for: Bug#21103 "DATE column not compared as DATE"
      Fixed properly Bug#18997 "DATE_ADD and DATE_SUB perform year2K autoconversion magic on 4-digit year value"
      Fixed Bug#23093 "Implicit conversion of 9912101 to date does not match cast(9912101 as date)"
       
      
      
      include/my_time.h:
        Removed not used define YY_MAGIC_BELOW
        Added prototype for year_2000_handling()
      mysql-test/r/date_formats.result:
        Updated results (fixed bug in date_format() with year < 99
      mysql-test/r/func_sapdb.result:
        Added more testing of make_date()
      mysql-test/r/ps_2myisam.result:
        Now we get a note when we insert a datetime value into a date column
      mysql-test/r/ps_3innodb.result:
        Now we get a note when we insert a datetime value into a date column
      mysql-test/r/ps_4heap.result:
        Now we get a note when we insert a datetime value into a date column
      mysql-test/r/ps_5merge.result:
        Now we get a note when we insert a datetime value into a date column
      mysql-test/r/ps_7ndb.result:
        Now we get a note when we insert a datetime value into a date column
      mysql-test/r/strict.result:
        zero-year in str_to_date() throws warning in strict
      mysql-test/r/type_date.result:
        Added test for date conversions
      mysql-test/r/type_datetime.result:
        Added testcase for datetime to date conversion.
      mysql-test/t/date_formats.test:
        Added testing of dates < 200
      mysql-test/t/func_sapdb.test:
        More testing of makedate()
      mysql-test/t/type_date.test:
        Added test for date conversions
      mysql-test/t/type_datetime.test:
        Added testcase for datetime to date conversion
      sql/field.cc:
        Give note if we insert a datetime value in a date field
        Don't give notes if we are doing internal test conversions (like from convert_constant_item())
        More documentation (store functions can now return '3' to inform that the function did return a NOTE (not warning or error))
        Revert some changes in Field_newdate::store() to get more optimal code
        Field::set_warning() will now ignore notes if CHECK_FIELD_IGNORE is set.
        New parameters to make_truncated_value_warning()
      sql/field.h:
        Give note if we insert a datetime value in a date field
        Don't give notes if we are doing internal test conversions (like from convert_constant_item())
        More documentation (store functions can now return '3' to inform that the function did return a NOTE (not warning or error))
        Revert some changes in Field_newdate::store() to get more optimal code
        Field::set_warning() will now ignore notes if CHECK_FIELD_IGNORE is set.
        New parameters to make_truncated_value_warning()
      sql/item.cc:
        Give note if we insert a datetime value in a date field
        Don't give notes if we are doing internal test conversions (like from convert_constant_item())
        More documentation (store functions can now return '3' to inform that the function did return a NOTE (not warning or error))
        Revert some changes in Field_newdate::store() to get more optimal code
        Field::set_warning() will now ignore notes if CHECK_FIELD_IGNORE is set.
        New parameters to make_truncated_value_warning()
      sql/item.h:
        TIME -> MYSQL_TIME
      sql/item_cmpfunc.cc:
        Don't print notes in convert_constant_item()
      sql/item_func.h:
        TIME -> MYSQL_TIME
      sql/item_timefunc.cc:
        New parameters to make_truncated_value_warning()
        Moved year 2000 handling out from calc_days()
      sql/item_timefunc.h:
        TIME -> MYSQL_TIME
      sql/my_decimal.cc:
        TIME -> MYSQL_TIME
      sql/my_decimal.h:
        TIME -> MYSQL_TIME
      sql/mysql_priv.h:
        Added error level to make_truncated_value_warning()
      sql/protocol.cc:
        TIME -> MYSQL_TIME
      sql/protocol.h:
        TIME -> MYSQL_TIME
      sql/sp.cc:
        TIME -> MYSQL_TIME
      sql/sql_base.cc:
        Make testing of result value of save_in_field() uniform
      sql/sql_class.h:
        TIME -> MYSQL_TIME
      sql/sql_show.cc:
        TIME -> MYSQL_TIME
      sql/structs.h:
        TIME -> MYSQL_TIME
      sql/time.cc:
        Added error level to make_truncated_value_warning()
      sql/tztime.cc:
        TIME -> MYSQL_TIME
      sql/tztime.h:
        TIME -> MYSQL_TIME
      sql/unireg.cc:
        For default values to CREATE, don't give errors for warning level NOTE
        (Fixed failed CREATE when we give a datetime value to a date field)
      sql-common/my_time.c:
        Added year_2000_handling()
        Removed year 2000 handling from calc_daynr()
      b5e4f54a
  5. 11 May, 2007 1 commit
    • unknown's avatar
      Fix for: · c5a82455
      unknown authored
        Bug #20662 "Infinite loop in CREATE TABLE IF NOT EXISTS ... SELECT
                    with locked tables"
        Bug #20903 "Crash when using CREATE TABLE .. SELECT and triggers"
        Bug #24738 "CREATE TABLE ... SELECT is not isolated properly"
        Bug #24508 "Inconsistent results of CREATE TABLE ... SELECT when
                    temporary table exists"
       
      Deadlock occured when one tried to execute CREATE TABLE IF NOT
      EXISTS ... SELECT statement under LOCK TABLES which held
      read lock on target table.
      Attempt to execute the same statement for already existing
      target table with triggers caused server crashes.
      Also concurrent execution of CREATE TABLE ... SELECT statement
      and other statements involving target table suffered from
      various races (some of which might've led to deadlocks).
      Finally, attempt to execute CREATE TABLE ... SELECT in case
      when a temporary table with same name was already present
      led to the insertion of data into this temporary table and
      creation of empty non-temporary table.
       
      All above problems stemmed from the old implementation of CREATE
      TABLE ... SELECT in which we created, opened and locked target
      table without any special protection in a separate step and not
      with the rest of tables used by this statement.
      This underminded deadlock-avoidance approach used in server
      and created window for races. It also excluded target table
      from prelocking causing problems with trigger execution.
        
      The patch solves these problems by implementing new approach to
      handling of CREATE TABLE ... SELECT for base tables.
      We try to open and lock table to be created at the same time as
      the rest of tables used by this statement. If such table does not
      exist at this moment we create and place in the table cache special
      placeholder for it which prevents its creation or any other usage
      by other threads.
      
      We still use old approach for creation of temporary tables.
      
      Also note that we decided to postpone introduction of some tests
      for concurrent behaviour of CREATE TABLE ... SELECT till 5.1.
      The main reason for this is absence in 5.0 ability to set @@debug
      variable at runtime, which can be circumvented only by using several
      test files with individual .opt files. Since the latter is likely
      to slowdown test-suite unnecessary we chose not to push this tests
      into 5.0, but run them manually for this version and later push
      their optimized version into 5.1
      
      
      mysql-test/r/create.result:
        Extended test coverage for CREATE TABLE ... SELECT. In particular added
        tests for bug #24508 "Inconsistent results of CREATE TABLE ... SELECT
        when temporary table exists" and bug #20662 "Infinite loop in CREATE
        TABLE IF NOT EXISTS ... SELECT with locked tables".
      mysql-test/r/trigger.result:
        Added test case for bug #20903 "Crash when using CREATE TABLE .. SELECT
        and triggers"
      mysql-test/t/create.test:
        Extended test coverage for CREATE TABLE ... SELECT. In particular added
        tests for bug #24508 "Inconsistent results of CREATE TABLE ... SELECT
        when temporary table exists" and bug #20662 "Infinite loop in CREATE
        TABLE IF NOT EXISTS ... SELECT with locked tables".
      mysql-test/t/trigger.test:
        Added test case for bug #20903 "Crash when using CREATE TABLE .. SELECT
        and triggers"
      sql/lock.cc:
        Now for creation of name-lock placeholder in lock_table_name() we use
        auxiliary function table_cache_insert_placeholder().
      sql/mysql_priv.h:
        Made build_table_path() function available outside of sql_table.cc file.
        reopen_name_locked_table() now has 3rd argument which controls linking
        in of table being opened into THD::open_tables (this is useful in
        cases when placeholder used for name-locking is already linked into
        this list).
        Added declaration of auxiliary function table_cache_insert_placeholder()
        which is used for creation of table placeholders for name-locking.
        Added declaration of table_cache_has_open_placeholder() function which
        can be used for checking if table cache contains an open placeholder for
        the table and if this placeholder was created by another thread.
        (This function is needed only in 5.0 where we use it in various versions
         of CREATE TABLE in order to protect it from concurrent CREATE TABLE
         ... SELECT operations for the table. Starting from 5.1 we use different
         approach so it is going to be removed there).
        Made close_old_data_files() static within sql_base.cc file. 
        Added auxiliary drop_open_table() routine.
        Moved declaration of refresh_version to table.h header to make it
        accessible from inline methods of TABLE class.
        MYSQL_OPEN_IGNORE_LOCKED_TABLES flag is no longer used. Instead
        MYSQL_OPEN_TEMPORARY_ONLY option was added.
      sql/sql_base.cc:
        Added support for the new approach to the handling of CREATE TABLE
        ... SELECT for base tables.
        
        Now we try to open and lock table to be created at the same time as
        the rest of tables used by this statement. If such table does not
        exist at this moment we create and place in the table cache special
        placeholder for it which prevents its creation or any other usage
        by other threads.
        
        Note significant distinctions of this placeholder from the placeholder
        used for normal name-lock: 1) It is treated like open table by other
        name-locks so it does not allow name-lock taking operations like DROP
        TABLE or RENAME TABLE to proceed. 2) it is linked into THD::open_tables
        list and automatically removed during close_thread_tables() call.
        
        open_tables():
          Implemented logic described above. To do this added
          auxiliary check_if_table_exists() function.
          Removed support for MYSQL_OPEN_IGNORE_LOCKED_TABLES option
          which is no longer used.
          Added MYSQL_OPEN_TEMPORARY_ONLY which is used to restrict
          search for temporary tables only.
        close_cached_tables()/close_thread_table()/reopen_tables()/
        close_old_data_files()/table_is_used()/remove_table_from_cache():
          Added support for open placeholders (note that we also use them
          when we need to re-open tables during flush).
        Added auxiliary drop_open_table() routine.
        reopen_name_locked_table():
          Now has 3rd argument which controls linking in of table being
          opened into THD::open_tables (this is useful in cases when
          placeholder used for name-locking is already linked into
          this list).
        Added auxiliary table_cache_insert_placeholder() routine which
        simplifies creation of placeholders used for name-locking.
        Added table_cache_has_open_placeholder() function which can be
        used for checking if table cache contains an open placeholder for
        the table and if this placeholder was created by another thread.
        (This function is needed only in 5.0 where we use it in various versions
         of CREATE TABLE in order to protect it from concurrent CREATE TABLE
         ... SELECT operations for the table. Starting from 5.1 we use different
         approach so it is going to be removed there).
      sql/sql_handler.cc:
        Adjusted mysql_ha_mark_tables_for_reopen() routine to properly
        handle placeholders which now can be linked into open tables
        list.
      sql/sql_insert.cc:
        Introduced new approach to handling of base tables in CREATE TABLE
        ... SELECT statement.
        
        Now we try to open and lock table to be created at the same time as
        the rest of tables used by this statement. If such table does not
        exist at this moment we create and place in the table cache special
        placeholder for it which prevents its creation or any other usage
        by other threads. By doing this we avoid races which existed with
        previous approach in which we created, opened and locked target in
        separate step without any special protection.
        This also allows properly calculate prelocking set in cases when
        target table already exists and has some on insert triggers.
          
        Note that we don't employ the same approach for temporary tables
        (this is okay as such tables are unaffected by other threads).
        
        Changed create_table_from_items() and select_create methods to
        implement this approach.
      sql/sql_parse.cc:
        The new approach to handling of CREATE TABLE ... SELECT for
        base tables assumes that all tables (including table to be
        created) are opened and (or) locked at the same time.
        So in cases when we create base table we have to pass to
        open_and_lock_tables() table list which includes target table.
      sql/sql_prepare.cc:
        The new approach to handling of CREATE TABLE ... SELECT for
        base tables assumes that all tables (including table to be
        created) are opened and (or) locked at the same time.
        So in cases when we create base table we have to pass to
        open_and_lock_tables() table list which includes target table.
      sql/sql_table.cc:
        Now mysql_create_table_internal(), mysql_create_like_table() and
        mysql_alter_table() not only check that destination table doesn't
        exist on disk but also check that there is no create placeholder
        in table cache for it (i.e. there is no CREATE TABLE ... SELECT
        operation in progress for it). Note that starting from 5.1 we
        use different approach in order to to protect CREATE TABLE ... SELECT
        from concurrent CREATE TABLE (ALTER TABLE ... RENAME) operations,
        the latter simply take name-locks on table before its creation
        (on target table name before renaming).
        
        Also made build_table_path() available from other files and
        asjusted calls to reopen_name_locked_table(), which now takes
        extra argument, which controls linking of open table into
        THD::open_tables list.
      sql/sql_trigger.cc:
        reopen_name_locked_tables() now has one more argument which controls
        linking of opened table into the THD::open_tables list.
      sql/sql_yacc.yy:
        The new approach to handling of CREATE TABLE ... SELECT statement
        for base tables assumes that all tables including table to be
        created are open and (or) locked at the same time. Therefore
        we need to set correct lock for target table.
      sql/table.h:
        Moved declaration of refresh_version variable from mysql_priv.h
        to make it accessible from inline methods of TABLE class. 
        Renamed TABLE::locked_by_flush member to open_placeholder since
        now it is also used for taking exclusive name-lock and not only
        by flush. 
        Introduced TABLE::is_name_opened() helper method which can be used
        to distinguish TABLE instances corresponding to open tables or
        placeholders for them from closed instances (e.g. due to their old
        version). Also introduced TABLE::needs_reopen_or_name_lock() helper
        which allows to check if TABLE instance corresponds to outdated
        version of table or to name-lock placeholder.
        Introduced TABLE_LIST::create member which marks elements of
        table list corresponds to the table to be created.
        Adjusted TABLE_LIST::placeholder() method to take into account 
        name-lock placeholders for tables to be created (this, for example,
        allows to properly handle such placeholders in lock_tables()).
      c5a82455
  6. 08 May, 2007 2 commits
    • unknown's avatar
      4.1 -> 5.0 Manual merge for Bug #27792 · 2c3a4641
      unknown authored
      mysql-test/r/query_cache.result:
        Added 5.0 testcase
      mysql-test/t/query_cache.test:
        Added 5.0 test case
      sql/mysql_priv.h:
        Added support for div_precision_increment
      sql/set_var.cc:
        - Added query cache flush when system variable ft_boolean_syntax is
          updated since this also invalidates all cached result sets using this
          variable.
      sql/sql_cache.cc:
        - Added the local system variable div_precision_increment as an identification flag
          for cached queries.
      2c3a4641
    • unknown's avatar
      Bug #27792 query cache returns wrong result, with certain system variables · ed947499
      unknown authored
       - Queries in the query cache are identified by the individual 
         characters in the query statement, the current database and 
         the current environment expressed as a set of system variable
         flags.
       - Since the set of environment flags didn't properly describe the
         current environment unexpected results were returned from the 
         query cache.
       - Query cache is now cleared when the variable ft_boolean_syntax is 
         updated.
       - An identification flag for the variable default_week_format is 
         added to the query cache record.
       
      Thanks to Martin Friebe who has supplied significant parts of this patch.
      
      
      mysql-test/r/query_cache.result:
        Added test case
      mysql-test/t/query_cache.test:
        Added test case
      sql/mysql_priv.h:
        - Added missing flags to reflect the significant local environment
          settings of the cached query.
      sql/set_var.cc:
        - Added query cache flush when system variable ft_boolean_syntax is
          updated since this also invalidates all cached result sets using this
          variable.
      sql/sql_cache.cc:
        - Added another local system variable as an identification flag
          for cached queries.
      ed947499
  7. 04 May, 2007 1 commit
    • unknown's avatar
      Bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions. · 99bde6d9
      unknown authored
      The LEAST/GREATEST functions compared DATE/DATETIME values as
      strings which in some cases could lead to a wrong result.
      
      A new member function called cmp_datetimes() is added to the
      Item_func_min_max class. It compares arguments in DATETIME context
      and returns index of the least/greatest argument.
      The Item_func_min_max::fix_length_and_dec() function now detects when
      arguments should be compared in DATETIME context and sets the newly
      added flag compare_as_dates. It indicates that the cmp_datetimes() function
      should be called to get a correct result.
      Item_func_min_max::val_xxx() methods are corrected to call the
      cmp_datetimes() function when needed.
      Objects of the Item_splocal class now stores and reports correct original
      field type.
      
      
      mysql-test/t/type_datetime.test:
        Added a test case for the bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
      mysql-test/r/type_datetime.result:
        Added a test case for the bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
      mysql-test/r/sp-vars.result:
        A test case result corrected after the fix for the bug#27759.
      sql/mysql_priv.h:
        Bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
        Added the prototype of the get_datetime_value() function.
      sql/item_func.h:
        Bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
        A new member function called cmp_datetimes() is added to the
        Item_func_min_max class.
      sql/item_func.cc:
        Bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
        A new member function called cmp_datetimes() is added to the
        Item_func_min_max class. It compares arguments in DATETIME context
        and returns index of the least/greatest argument.
        The Item_func_min_max::fix_length_and_dec() function now detects when
        arguments should be compared in DATETIME context and sets the newly
        added flag compare_as_dates. It indicates that the cmp_datetimes() function
        should be called to get a correct result.
        Item_func_min_max::val_xxx() methods are corrected to call the
        cmp_datetimes() function when needed.
      sql/item_cmpfunc.cc:
        Bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
        The get_datetime_value() function is no longer static.
      sql/item.h:
        Bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
        Objects of the Item_splocal class now stores and reports correct original
        field type.
      sql/item.cc:
        Bug#27759: Wrong DATE/DATETIME comparison in LEAST()/GREATEST() functions.
        Objects of the Item_splocal class now stores and reports correct original
        field type.
      99bde6d9
  8. 28 Apr, 2007 1 commit
    • unknown's avatar
      Fix for bug #24912 "problems with bigint in abs() ceiling() round() truncate()... · 38090df9
      unknown authored
      Fix for bug #24912 "problems with bigint in abs() ceiling() round() truncate() mod()" and a number of related problems:
      
      - unsigned flag was not handled correctly for a number of mathematical funcions, which led to incorrect results
      - passing large values as the number of decimals to ROUND() resulted in incorrect results and even server crashes in some cases
      - reverted the fix and the testcase for bug #10083 as it violates the manual
      - fixed some testcases which relied on broken ROUND() behavior
      
      
      mysql-test/r/func_math.result:
        - Removed the testcase for bug #10083 (not a bug according to the manual)
        - Changed the testcase for bug #9837 to expect a correct ROUND() behavior
        - Added testcases for bug #24912 and all related bugs found
      mysql-test/r/type_newdecimal.result:
        Fixed a truncate() testcase which relied on broken behavior
      mysql-test/t/func_math.test:
        - Removed the testcase for bug #10083 (not a bug according to the manual)
        - Changed the testcase for bug #9837 to expect a correct ROUND() behavior
        - Added testcases for bug #24912 and all related bugs found
      sql/item_func.cc:
        Various changes to fix bug #24912 and all related bugs found:
        - honor unsigned_flag in various Item_* functions
        - correctly handle out-of-range numbers of decimals in Item_func_round::fix_length_and_dec()
        - changed the argument specifying the number of decimals in my_double_round() from int to longlong, added a new argument to pass the 'unsigned flag'
        - changed my_double_round() to correctly handle large values passed as the 'number of decimals' argument
        - added a my_double_round() analog for BIGINT UNSIGNED arguments (my_unsigned_round())
        - fixed Item_func_round()::int_op() to not overflow even when the result is within integer range
        - fixed a bug Item_founc_round()::decimal_op() which resulted in crash when a large number of decimals was passed to my_decimal_round()
      sql/item_func.h:
        Various fixed to correctly handle unsigned values.
      sql/item_strfunc.cc:
        Changed the call to my_double_round() to match the new declaration.
      sql/mysql_priv.h:
        Changed the declaration for my_double_round() to be able pass arbitrary integers as number of decimals (both signed and unsigned)
      38090df9
  9. 24 Apr, 2007 1 commit
    • unknown's avatar
      Bug#25411 (trigger code truncated), PART I · 3eff7d4d
      unknown authored
      The issue found with bug 25411 is due to the function skip_rear_comments()
      which damages the source code while implementing a work around.
      The root cause of the problem is in the lexical analyser, which does not
      process special comments properly.
      For special comments like :
      [1] aaa /*!50000 bbb */ ccc
      since 5.0 is a version older that the current code, the parser is in lining
      the content of the special comment, so that the query to process is
      [2] aaa bbb ccc
      However, the text of the query captured when processing a stored procedure,
      stored function or trigger (or event in 5.1), can be after rebuilding it:
      [3] aaa bbb */ ccc
      which is wrong.
      
      To fix bug 25411 properly, the lexical analyser needs to return [2] when
      in lining special comments.
      In order to implement this, some preliminary cleanup is required in the code,
      which is implemented by this patch.
      
      Before this change, the structure named LEX (or st_lex) contains attributes
      that belong to lexical analysis, as well as attributes that represents the
      abstract syntax tree (AST) of a statement.
      Creating a new LEX structure for each statements (which makes sense for the
      AST part) also re-initialized the lexical analysis phase each time, which
      is conceptually wrong.
      
      With this patch, the previous st_lex structure has been split in two:
      - st_lex represents the Abstract Syntax Tree for a statement. The name "lex"
      has not been changed to avoid a bigger impact in the code base.
      - class lex_input_stream represents the internal state of the lexical
        analyser, which by definition should *not* be reinitialized when parsing
        multiple statements from the same input stream.
      
      This change is a pre-requisite for bug 25411, since the implementation of
      lex_input_stream will later improve to deal properly with special comments,
      and this processing can not be done with the current implementation of
      sp_head::reset_lex and sp_head::restore_lex, which interfere with the lexer.
      
      This change set alone does not fix bug 25411.
      
      
      sql/item_func.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/log_event.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/mysql_priv.h:
        Refactoring, separate lex_input_stream from st_lex.
      sql/slave.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sp.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sp_head.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sp_head.h:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_class.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_class.h:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_lex.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_lex.h:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_parse.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_prepare.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_trigger.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_view.cc:
        Refactoring, separate lex_input_stream from st_lex.
      sql/sql_yacc.yy:
        Refactoring, separate lex_input_stream from st_lex.
      3eff7d4d
  10. 18 Apr, 2007 1 commit
    • unknown's avatar
      Bug#25452 mysql_upgrade access denied · 1d24597f
      unknown authored
       - Improve mysql_upgrade and add comments describing it's logic
       - Don't look for mysql and mysqlcheck randomly, use dir where mysql_upgrade
        was started from
       - Don't look for mysql_fix_privilege_tables.sql randomly, compile
        in the mysql_fix_privilege_tables.sql file and use that to upgrade
        the system tables of MySQL
       - Check for any unexpected error returned from runnning the mysql_fix_privilege_tables SQL
       - Fix bug#26639, bug#24248 and bug#25405
      
      
      BitKeeper/etc/ignore:
        Added scripts/comp_sql scripts/mysql_fix_privilege_tables_sql.c to the ignore list
      CMakeLists.txt:
        Build files also in scripts/
      Makefile.am:
        Build scripts/ a little earlier to make
        the scripts/mysql_fix_privilege_tables_sql.c file available
        when client/ is built
      client/mysql_upgrade.c:
        Updated version of mysql_upgrade with comments and logical functions
      include/my_global.h:
        Move IF_WIN macro to my_global.h fr from sql/mysql_priv.h
      mysql-test/r/mysql_upgrade.result:
        Update result
      mysql-test/t/mysql_upgrade.test:
        Add more tests for different bugs related to mysql_upgrade
      scripts/Makefile.am:
        Build comp_sql and mysql_fix_privilege_tables_sql.c
      sql/mysql_priv.h:
        Move IF_WIN macro to my_global.h fr from sql/mysql_priv.h
      scripts/CMakeLists.txt:
        New BitKeeper file ``scripts/CMakeLists.txt''
      scripts/comp_sql.c:
        New BitKeeper file ``scripts/comp_sql.c''
      1d24597f
  11. 09 Apr, 2007 1 commit
    • unknown's avatar
      Bug#22648 LC_TIME_NAMES: Setting GLOBAL has no effect · 8e2b68c3
      unknown authored
      Problem: setting/displaying @@LC_TIME_NAMES didn't distinguish between
      GLOBAL and SESSION variable types - always SESSION variable
      was set/shonw.
      Fix: set either global or session value.
      Also, "mysqld --lc-time-names" was added to set "global default" value.
      
      
      mysql-test/r/variables.result:
        Adding test cases
      mysql-test/t/variables.test:
        Adding test cases
      sql/mysql_priv.h:
        Declaring variable for global default.
      sql/mysqld.cc:
        Adding --lc-time-names
      sql/set_var.cc:
        Distinguish between GLOBAL and SESSION variables.
      sql/sql_class.cc:
        Don't initialize to en_US, use global_system_variables value instead.
      8e2b68c3
  12. 04 Apr, 2007 1 commit
    • unknown's avatar
      Bug #26242 UPDATE with subquery and triggers failing with cluster tables · 2efc0f51
      unknown authored
      In certain cases AFTER UPDATE/DELETE triggers on NDB tables that referenced
      subject table didn't see the results of operation which caused invocation
      of those triggers. In other words AFTER trigger invoked as result of update
      (or deletion) of particular row saw version of this row before update (or
      deletion).
      
      The problem occured because NDB handler in those cases postponed actual
      update/delete operations to be able to perform them later as one batch.
      
      This fix solves the problem by disabling this optimization for particular
      operation if subject table has AFTER trigger for this operation defined.
      To achieve this we introduce two new flags for handler::extra() method:
      HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH.
      These are called if there exists AFTER DELETE/UPDATE triggers during a
      statement that potentially can generate calls to delete_row()/update_row().
      This includes multi_delete/multi_update statements as well as insert statements
      that do delete/update as part of an ON DUPLICATE statement.
      
      
      include/my_base.h:
        Added HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler when batching of delete/update is not possible.
      mysql-test/r/ndb_trigger.result:
        Bug #26242  UPDATE with subquery and triggers failing with cluster tables
        ---
        Added new test cases
      mysql-test/t/ndb_trigger.test:
        Bug #26242  UPDATE with subquery and triggers failing with cluster tables
        ---
        Added new test cases
      sql/ha_ndbcluster.cc:
        Bug #26242  UPDATE with subquery and triggers failing with cluster tables: Use HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler when batching of delete/update is not possible
      sql/ha_ndbcluster.h:
        Bug #26242  UPDATE with subquery and triggers failing with cluster tables: Added member variables for handling of HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler when batching of delete/update is not possible
      sql/mysql_priv.h:
        Added new method prepare_triggers_for_insert_stmt to check if batching of delete/update must be disallowed.
      sql/sql_delete.cc:
        Use HA_EXTRA_DELETE_CANNOT_BATCH to inform handler when batching of delete is not possible
      sql/sql_insert.cc:
        Added method prepare_triggers_for_insert_stmt to check if batching of delete/update must be dissallowed.
        Use HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler
         when batching of delete/update is not possible
      sql/sql_load.cc:
        Call prepare_triggers_for_insert_stmt to check if batching of delete/update must be dissallowed and
        mark fields used by triggers for the insert statement.
      sql/sql_trigger.h:
        Added has_triggers to support what particular triggers exist on a table.
      sql/sql_update.cc:
        Use HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler when batching of update is not possible
      2efc0f51
  13. 03 Apr, 2007 1 commit
    • unknown's avatar
      Fix for BUG#27337: Privileges are not properly restored. · 7e08016a
      unknown authored
      The problem was that THD::db_access variable was not restored after
      database switch in stored-routine-execution code.
      
      The fix is to restore THD::db_access in this case.
      
      Unfortunately, this fix requires additional changes,
      because in prepare_schema_table(), called on the parsing stage, we checked
      privileges. That was wrong according to our design, but this flaw haven't
      struck so far, because it was masked. All privilege checkings must be
      done on the execution stage in order to be compatible with prepared statements
      and stored routines. So, this patch also contains patch for
      prepare_schema_table(), which moves the checkings to the execution phase.
      
      
      mysql-test/r/grant.result:
        Updated result file.
      mysql-test/t/grant.test:
        Added test case for BUG#27337.
      sql/mysql_priv.h:
        Added function declaration.
      sql/sql_db.cc:
        Fix for BUG#27337 -- set THD::db_access even if we're called
        from stored-routine-execution code.
      sql/sql_parse.cc:
        Split prepare_schema_table() into two functions:
          - prepare_schema_table(), which is called from the parser (parsing stage);
          - check_show_access(), which is called on the execution stage.
      sql/sql_show.cc:
        Ignore schema_select_lex member if its table is NULL.
      7e08016a
  14. 27 Mar, 2007 1 commit
    • unknown's avatar
      Fix for BUG#25082: default database change on trigger · 6a594ffd
      unknown authored
      execution breaks replication.
      
      When a stored routine is executed, we switch current
      database to the database, in which the routine
      has been created. When the stored routine finishes,
      we switch back to the original database.
      
      The problem was that if the original database does not
      exist (anymore) after routine execution, we raised an error.
      
      The fix is to report a warning, and switch to the NULL database.
      
      
      mysql-test/r/sp.result:
        Updated result file.
      mysql-test/t/sp.test:
        Added test case for BUG#25082.
      sql/mysql_priv.h:
        1. Change mysql_change_db() prototype;
        2. Polishing.
      sql/sp.cc:
        Polishing.
      sql/sp_head.cc:
        Polishing.
      sql/sql_db.cc:
        1. Polishing.
        2. Fix mysql_change_db().
      sql/sql_parse.cc:
        Polishing.
      sql/sql_show.cc:
        Polishing.
      6a594ffd
  15. 24 Mar, 2007 1 commit
    • unknown's avatar
      Bug #27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF() · d1894553
      unknown authored
      eliminating the unnecessary option; and replacing site-dependant stuff in the test
      
      
      mysql-test/r/sp_trans.result:
        results changed, will be changed again after bug#23333 fixed
      mysql-test/t/sp_trans.test:
        replacing sensitive stuff
      sql/mysql_priv.h:
        removal, as part of Bug#27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF()
      d1894553
  16. 16 Mar, 2007 3 commits
    • unknown's avatar
      Bug#20166 mysql-test-run.pl does not test system privilege tables creation · 77fccd03
      unknown authored
       - Build sql files for netware from the mysql_system_tables*.sq files
       - Fix comments about mysql_create_system_tables.sh
       - Use mysql_install_db.sh to create system tables for mysql_test-run-shell
       - Fix mysql-test-run.pl to also look in share/mysql for the msyql_system*.sql files
      
      Changeset coded today by Magnus Svensson, just the application to 5.0.38 is by Joerg Bruehe.
      
      
      BitKeeper/deleted/.del-init_db.sql~e2b8d0c8390e8023:
        Delete: netware/init_db.sql
      BitKeeper/deleted/.del-test_db.sql:
        Delete: netware/test_db.sql
      BitKeeper/etc/ignore:
        Added netware/init_db.sql netware/test_db.sql to the ignore list
      mysql-test/install_test_db.sh:
        Use mysql_install_db from install_test_db(which is used by mysql-test-run-shell)
        to install the system tables
      mysql-test/mysql-test-run.pl:
        Look for the mysql_system_tables*.sql also in share/mysql
      netware/Makefile.am:
        Build netware/init_db.sql and netware/test_db.sql from
        the sources in scripts/msyql_system_tables*.sql
      scripts/make_binary_distribution.sh:
        netware/init_db.sql and netware/test_db.sql are now built by the Makefiles
        from the scripts/mysql_system_tables*.sql files
      sql/mysql_priv.h:
        Update comment remindging to update the MySQL system table definitions
        when adding a new SQL_MODE
      sql/sql_acl.h:
        Update comment reminding to update the MySQL System tables
        when changing the ACL defines
      77fccd03
    • unknown's avatar
      Bug#20166 mysql-test-run.pl does not test system privilege tables creation · 0eec6c13
      unknown authored
       - Build sql files for netware from the mysql_system_tables*.sq files
       - Fix comments about mysql_create_system_tables.sh
       - Use mysql_install_db.sh to create system tables for mysql_test-run-shell
       - Fix mysql-test-run.pl to also look in share/mysql for the msyql_system*.sql files
      
      
      BitKeeper/deleted/.del-init_db.sql~e2b8d0c8390e8023:
        Rename: netware/init_db.sql -> BitKeeper/deleted/.del-init_db.sql~e2b8d0c8390e8023
      BitKeeper/deleted/.del-test_db.sql:
        Rename: netware/test_db.sql -> BitKeeper/deleted/.del-test_db.sql
      BitKeeper/etc/ignore:
        Added netware/init_db.sql netware/test_db.sql to the ignore list
      mysql-test/install_test_db.sh:
        Use mysql_install_db from install_test_db(which is used bu mysql-test-run-shell)
        to install the system tables
      mysql-test/mysql-test-run.pl:
        Look for the mysql_system_tables*.sql also in share/mysql
      netware/Makefile.am:
        Build netware/init_db.sql and netware/test_db.sql from
        the sources in scripts/msyql_system_tables*.sql
      scripts/make_binary_distribution.sh:
        netware/init_db.sql and netware/test_db.sql are now built by the Makefiles
        from the scripts/mysql_system_tables*.sql files
      sql/mysql_priv.h:
        Update comment remindging to update the MySQL system table definitions
        when adding a new SQL_MODE
      sql/sql_acl.h:
        Update comment reminding to update the MySQL System tables
        when changing the ACL defines
      0eec6c13
    • unknown's avatar
      Bug #26261: · 2e8e78a4
      unknown authored
       INSERT uses query_id to verify what fields are
       mentioned in the fields list of the INSERT command.
       However the check for that is made after the 
       ON DUPLICATE KEY is processed. This causes all
       the fields mentioned in ON DUPLICATE KEY to be 
       considered as mentioned in the fields list of 
       INSERT.
       Moved the check up, right after processing the
       fields list.
      
      
      mysql-test/r/insert_update.result:
        Bug #26261: test case
      mysql-test/t/insert_update.test:
        Bug #26261: test case
      sql/mysql_priv.h:
        Bug #26261: moved the check inside mysql_prepare_insert
      sql/sql_insert.cc:
        Bug #26261: move the check inside mysql_prepare_insert
        before setting up the ON DUPLICATE KEY part
      sql/sql_prepare.cc:
        Bug #26261: moved the check inside mysql_prepare_insert
      2e8e78a4
  17. 05 Mar, 2007 2 commits
    • unknown's avatar
      Add "have_ssl" as synonym for "have_openssl" · 3880c80f
      unknown authored
      mysql-test/t/openssl_1.test:
        Add "have_ssl" as synonym for "have_openssl"
        Correct comment
      3880c80f
    • unknown's avatar
      Fixed bug #26560. · 6da758c2
      unknown authored
      The flag alias_name_used was not set on for the outer references
      in subqueries. It resulted in replacement of any outer reference
      resolved against an alias for a full field name when the frm 
      representation of a view with a subquery was generated. 
      If the subquery and the outer query referenced the same table in
      their from lists this replacement effectively changed the meaning
      of the view and led to wrong results for selects from this view. 
      
      Modified several functions to ensure setting the right value of
      the alias_name_used flag for outer references resolved against
      aliases.
       
      
      
      mysql-test/r/view.result:
        Added a test case for bug #26560.
      mysql-test/t/view.test:
        Added a test case for bug #26560.
      sql/item.cc:
        Fixed bug #26560.
        Made the function resolve_ref_in_select_and_group analyze the return
        value of the last parameter with the type of the name resolution for
        the submitted reference. If the reference has been resolved against 
        an alias name from select list then its flag alias_name_used is set on.
        Now this value is used in Item_field::fix_outer_field to initialize the flag
        when the item_ref object is created for an outer reference.
        Added a parameter for the second Item_ref::Item_ref constructor to initialize
        properly the flag alias_name_used. The default value of the parameter is FALSE.
        If this flag is set on at the creation of an object by this constructor it
        will never be changed. Corrected appropriately the Item_ref::set_properties
        function.
        The function Item_ref::print now prints alias name for an outer reference
        if the flag alias_name_used is set on.
      sql/item.h:
        Fixed bug #26560.
        Added a parameter for the second Item_ref::Item_ref constructor to initialize
        properly the flag alias_name_used. The default value of the parameter is FALSE.
        A similar change has been applied to the first Item_direct_ref::Item_direct_ref
        constructor.
      sql/mysql_priv.h:
        Fixed bug #26560.
        Added an an enumeration type enum_resolution_type to return info on
        how the function find_item_in_list has resolved the submitted item.
        The type is used only for this function.
      sql/sql_base.cc:
        Fixed bug #26560.
        Made the last parameter of the function find_field_in_tables return
        more detailed information on how the submitted item has been resolved.
        Now it says whether the item has been resolved
          against an alias name,
          or as a field name without alias,
          or as a field name hidden by alias, 
          or was resolved ignoring alias.
      sql/sql_select.cc:
        Fixed bug #26560.
        Took into account the new type of the last parameter of the function
        find_item_in_list.
      6da758c2
  18. 01 Mar, 2007 2 commits
    • unknown's avatar
      Bug#25122: Views based on a self-joined table aren't insertable. · 1437a9c5
      unknown authored
      When INSERT is done over a view the table being inserted into is 
      checked to be unique among all views tables. But if the view contains
      self-joined table an error will be thrown even if all tables are used under
      different aliases.
      
      The unique_table() function now also checks tables' aliases when needed.
      
      
      sql/mysql_priv.h:
        Bug#25122:  Views based on a self-joined table aren't insertable.
        Updated prototype of the unique_table() function.
      sql/sql_base.cc:
        Bug#25122:  Views based on a self-joined table aren't insertable.
        Now the unique_table() function checks tables' aliases when needed.
      sql/sql_delete.cc:
        Bug#25122:  Views based on a self-joined table aren't insertable.
        Updated calls to the unique_table() function.
      sql/sql_insert.cc:
        Bug#25122:  Views based on a self-joined table aren't insertable.
        Updated calls to the unique_table() function.
      sql/sql_load.cc:
        Bug#25122:  Views based on a self-joined table aren't insertable.
        Updated calls to the unique_table() function.
      sql/sql_parse.cc:
        Bug#25122:  Views based on a self-joined table aren't insertable.
        Updated calls to the unique_table() function.
      sql/sql_update.cc:
        Bug#25122:  Views based on a self-joined table aren't insertable.
        Updated calls to the unique_table() function.
      1437a9c5
    • unknown's avatar
      Fixes of compilation warnings and errors. · b3fafa40
      unknown authored
      sql/mysql_priv.h:
        Removing compiler warning "NULL used in arithmetic"
      sql/mysqld.cc:
        First argument to WARN_DEPRECATED is supposed to be a pointer (to THD structure)
      sql/sql_insert.cc:
        Removing compiler warning "unused variable". Apparently query is not used when compiling libmysqld.
      sql/sql_yacc.yy:
        Removing compiler error "Macro already defined"
      b3fafa40
  19. 21 Feb, 2007 1 commit
    • unknown's avatar
      Bug#23800: Outer fields in correlated subqueries is used in a temporary table · f8855142
      unknown authored
      created for sorting.
      
      Any outer reference in a subquery was represented by an Item_field object.
      If the outer select employs a temporary table all such fields should be
      replaced with fields from that temporary table in order to point to the 
      actual data. This replacement wasn't done and that resulted in a wrong
      subquery evaluation and a wrong result of the whole query.
      
      Now any outer field is represented by two objects - Item_field placed in the
      outer select and Item_outer_ref in the subquery. Item_field object is
      processed as a normal field and the reference to it is saved in the
      ref_pointer_array. Thus the Item_outer_ref is always references the correct
      field. The original field is substituted for a reference in the
      Item_field::fix_outer_field() function.
      
      New function called fix_inner_refs() is added to fix fields referenced from
      inner selects and to fix references (Item_ref objects) to these fields.
      
      The new Item_outer_ref class is a descendant of the Item_direct_ref class.
      It additionally stores a reference to the original field and designed to
      behave more like a field.
      
      
      sql/item.cc:
        Bug#23800: Correlated sub query returning incorrect results when operated upon.
        Now all outer fields are substituted with references to them (Item_outer_ref objects)
        in the Item_field::fix_outer_field() function.
        The original field is saved in the Item_outer_ref object.
      sql/item.h:
        Bug#23800: Correlated sub query returning incorrect results when operated upon.
        Added the Item_outer_ref class.
      sql/mysql_priv.h:
        Bug#23800: Correlated sub query returning incorrect results when operated upon.
        Added the fix_inner_refs() function prototype.
      sql/sql_delete.cc:
        Bug#23800: Correlated sub query returning incorrect results when operated upon.
        Added call to the fix_inner_refs() function.
      sql/sql_select.cc:
        Bug#23800: Correlated sub query returning incorrect results when operated upon.
        The new function called fix_inner_refs() is added.
      mysql-test/r/subselect.result:
        Added a test case for bug#23800: Correlated sub query returning incorrect results when
        operated upon.
      sql/sql_update.cc:
        Bug#23800: Correlated sub query returning incorrect results when operated upon.
        Added call to the fix_inner_refs() function.
      mysql-test/r/subselect3.result:
        Corrected test cases result after fix for bug#23800: Correlated sub query returning
        incorrect results when operated upon.
      mysql-test/t/subselect.test:
        Added a test case for bug#23800: Correlated sub query returning incorrect results when
        operated upon.
      sql/sql_lex.cc:
        Bug#23800: Correlated sub query returning incorrect results when operated upon.
        Added cleanup of the inner_refs_list.
      sql/sql_lex.h:
        Bug#23800: Correlated sub query returning incorrect results when operated upon.
        The inner_refs_list is added to the SELECT_LEX class.
      f8855142
  20. 14 Feb, 2007 1 commit
    • unknown's avatar
      Bug#18628 mysql-test-run: security problem(part1) · c4ae01e6
      unknown authored
       - Implement --secure-file-priv=<dir> option that limits
        "load_file", "LOAD DATA" and "SELECT .. INTO OUTFILE" to work 
        with files in specified dir.
       - Use above option for mysqld in mysql-test-run.pl 
      
      
      mysql-test/mysql-test-run.pl:
        Add usage of --secure-file-priv=vardir when starting mysqld
      mysql-test/r/loaddata.result:
        Update test result after adding test to check that secure-file-priv
        works for "load data" and "load_file"
      mysql-test/r/outfile.result:
        Update result
      mysql-test/r/query_cache.result:
        Can't load from outside of vardir anymore
      mysql-test/r/type_blob.result:
        Can't load from outside of vardir anymore
      mysql-test/t/loaddata.test:
        Update test result after adding test to check that secure-file-priv 
        works for "load data" and "load_file"
      mysql-test/t/outfile.test:
        Update test result after adding test to check that secure-file-priv
        works for "SELECT .. INTO OUTFILE"
      mysql-test/t/query_cache.test:
        Can't load from outside of vardir anymore
      mysql-test/t/type_blob.test:
        Can't load from outside of vardir anymore
      sql/item_strfunc.cc:
        Check that the path "load_file" uses for the file is within 
        what's specified with --secure-file-priv
      sql/mysql_priv.h:
        Add secure_file_priv
      sql/mysqld.cc:
        Add "--secure_file_priv"
      sql/set_var.cc:
        Add variable "secure_file_priv" to "show variables"
      sql/sql_class.cc:
        Check that the path "load_file" uses for the file is within 
        what's specified with --secure-file-priv
      sql/sql_class.h:
        Fix spelling error
      sql/sql_load.cc:
        Check that the path "load_file" uses for the file is within 
        what's specified with --secure-file-priv
      sql/share/errmsg.txt:
        Fix swedish error message for ER_OPTION_PREVENTS_STATMENT wich was hardcoded
        to --skip-grant-tables
      c4ae01e6
  21. 12 Feb, 2007 1 commit
    • unknown's avatar
      Bug#24630 Subselect query crashes mysqld · 2572c826
      unknown authored
      The crash happens because second filling of the same I_S table happens in
      case of subselect with order by. table->sort.io_cache previously allocated
      in create_sort_index() is deleted during second filling
      (function get_schema_tables_result). There are two places where
      I_S table can be filled: JOIN::exec and create_sort_index().
      To fix the bug we should check if the table was already filled
      in one of these places and skip processing of the table in second.
      
      
      mysql-test/r/information_schema.result:
        test case
      mysql-test/t/information_schema.test:
        test case
      sql/mysql_priv.h:
        added new parameter 'executed_place' to function get_schema_tables_result()
      sql/sql_select.cc:
        added new parameter 'executed_place' to function get_schema_tables_result()
      sql/sql_show.cc:
        added more accurate check for cases when we need to refresh I_S table
      sql/table.cc:
        added more accurate check for cases when we need to refresh I_S table
      sql/table.h:
        added more accurate check for cases when we need to refresh I_S table
      2572c826
  22. 06 Feb, 2007 1 commit
    • unknown's avatar
      Bug#19978: INSERT .. ON DUPLICATE erroneously reports some records were · 976f0a39
      unknown authored
      updated.
      
      INSERT ... ON DUPLICATE KEY UPDATE reports that a record was updated when
      the duplicate key occurs even if the record wasn't actually changed
      because the update values are the same as those in the record.
      
      Now the compare_record() function is used to check whether the record was
      changed and the update of a record reported only if the record differs
      from the original one.
      
      
      sql/sql_update.cc:
        Bug#19978: INSERT .. ON DUPLICATE erroneously reports some records were
        updated.
        The compare_record() function was changed to non-static one.
      sql/sql_insert.cc:
        Bug#19978: INSERT .. ON DUPLICATE erroneously reports some records were
        updated.
        Now the compare_record() function is used to check whether the record was
        changed and the update of a record reported only if the record differs
        from the original one.
      sql/mysql_priv.h:
        Bug#19978: INSERT .. ON DUPLICATE erroneously reports some records were
        updated.
        Added the prototype of the compare_record() function.
      mysql-test/t/insert_select.test:
        Added a test case for bug#19978: INSERT .. ON DUPLICATE erroneously reports
        some records were updated.
      mysql-test/r/insert_select.result:
        Added a test case for bug#19978: INSERT .. ON DUPLICATE erroneously reports
        some records were updated.
      976f0a39
  23. 02 Feb, 2007 1 commit
  24. 31 Jan, 2007 2 commits
    • unknown's avatar
      BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join · fbc16a85
      unknown authored
       Two problems here:
      
       Problem 1:
      
       While constructing the join columns list the optimizer does as follows:
        1. Sets the join_using_fields/natural_join members of the right JOIN 
         operand.
        2. Makes a "table reference" (TABLE_LIST) to parent the two tables.
        3. Assigns the join_using_fields/is_natural_join of the wrapper table
         using join_using_fields/natural_join of the rightmost table
        4. Sets join_using_fields to NULL for the right JOIN operand.
        5. Passes the parent table up to the same procedure on the upper 
         level.
      
       Step 1 overrides the the join_using_fields that are set for a nested 
       join wrapping table in step 4.
       Fixed by making a designated variable SELECT_LEX::prev_join_using to 
       pass the data from step 1 to step 4 without destroying the wrapping 
       table data.
      
       Problem 2:
      
       The optimizer checks for ambiguous columns while transforming 
       NATURAL JOIN/JOIN USING to JOIN ON. While doing that there was no
       distinction between columns that are used in the generated join
       condition (where ambiguity can be checked) and the other columns
       (where ambiguity can be checked only when resolving references
       coming from outside the JOIN construct itself).
       Fixed by allowing the non-USING columns to be present in multiple 
       copies in both sides of the join and moving the ambiguity check 
       to the place where unqualified references to the join columns are
       resolved (find_field_in_natural_join()).
      
      
      mysql-test/r/join_nested.result:
        BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join
         - test case
      mysql-test/t/join_nested.test:
        BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join
         - test case
      sql/mysql_priv.h:
        BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join
         - use SELECT_LEX to store the ref to JOIN USING list needed by the 
           parser
      sql/sql_base.cc:
        BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join
         - proper check for duplicate cols
         - more detailed debug output
      sql/sql_lex.h:
        BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join
         - use SELECT_LEX to store the ref to JOIN USING list needed by the 
           parser
      sql/sql_parse.cc:
        BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join
         - proper check for duplicate cols in JOIN USING
      sql/sql_yacc.yy:
        BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join
         - use SELECT_LEX to store the ref to JOIN USING list needed by the 
           parser
      sql/table.cc:
        BUG#25575: ERROR 1052 (Column in from clause is ambiguous) with sub-join
         - return null if no table ref (as in nested join columns).
      fbc16a85
    • unknown's avatar
      fix for bug #19690: ORDER BY eliminates rows from the result · faad7355
      unknown authored
      Depending on the queries we use different data processing methods
      and can lose some data in case of double (and decimal in 4.1) fields.
      
      The fix consists of two parts:
      1. double comparison changed, now double a is equal to double b 
      if (a-b) is less than 5*0.1^(1 + max(a->decimals, b->decimals)). 
      For example, if a->decimals==1, b->decimals==2, a==b if (a-b)<0.005
      2. if we use a temporary table, store double values there as is 
      to avoid any data conversion (rounding).
      
      
      mysql-test/r/type_float.result:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - test result
      mysql-test/t/type_float.test:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - test case
      sql/field.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - use not_fixed flag instead of dec to check bounds.
      sql/field.h:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - Field_Double::not_fixed flag introduced, which is set if dec == NOT_FIXED_DEC
            and is used in the ::store() to check bounds. 
          - new constructor introduced (with not_fixed_arg parameter).
      sql/init.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - fill log_01[] array with 0.1 powers.
      sql/item_cmpfunc.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - compare_real_fixed() and compare_e_real_fixed() introduced,
            they consider double a == double b if a-b is less than 'precision',
            'precision' is set to 5*0.1^(1 + max(a->decimals, b->decimals)), 
            for example, if a->decimals==1, b->decimals==2, 'precision' is 0.005
          - use the above functions if both arguments are fixed.
      sql/item_cmpfunc.h:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - Arg_comparator::presision introduced.
          - Arg_comparator::compare_real_fixed(), Arg_comparator::compare_e_real_fixed() introduced.
      sql/mysql_priv.h:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - log_01 array of 0.1 powers added.
      sql/mysqld.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - log_01 array of 0.1 powers added.
      sql/sql_select.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - if we create double field in a temporary table, set not_fixed flag
            (use proper constructor) to avoid data conversion 
            in the Field_double::store(). Otherwise we can lose some data.
      faad7355
  25. 29 Jan, 2007 1 commit
    • unknown's avatar
      Bug#22943 syscall pruning in libmysql · a195ad5e
      unknown authored
       - Set the timeout values only where needed
      
      
      sql/mysql_priv.h:
        Add new functions for setting read and write timeout on "net"
      sql/mysqld.cc:
        - Move the setting of "read_timeout" to the value of "connect_timeout" to
          just before 'check_connection' which is the function where we want
          to use the different timeout
        - With the new functions to set timeout on "net", there is no need to
          specifically set the default wait_timeout on windows.
      sql/net_serv.cc:
        Add new functions for setting read and write timeout of "net, when
        server is compiled not to use alarms it will set the write/read timeout
        directly on connection using 'vio_timeout'(using setsockopt if socket)
      sql/repl_failsafe.cc:
        Put unused code within "#if NOT_USED"
      sql/set_var.cc:
        Use 'net_set_*_timeout' when adjusting timeout value
        on the current connection
      sql/slave.cc:
        The read timeout used when connecting to master server is set
        using 'mysql_options' in 'connect_to_master' function
      sql/sql_parse.cc:
        - Set read and write timeout values to "connect_timeout" during
        connect phase
        - Use "read_timeout" value during sslaccept phase, since this is during
        connect phase it implies "connect-timeout"
        - Set read and write timeout value back to default after connect phase
        - Set "read_timeout" to "wait_timeout" while waiting for client.
      sql/sql_repl.cc:
        Set "read_timeout" to "wait_timeout" while ask other mysqld to send file
      sql-common/client.c:
        Call 'vio_timeout' to set up the read and write timeout's for the
        newly created connection. It only need to be done once at connect time.
      vio/vio.c:
        Use 'vio_timeout' for setting timeout also on an SSL connection
        since they both use sockets
      vio/viossl.c:
        Remove 'vio_ssl_timeout' function
      a195ad5e
  26. 26 Jan, 2007 1 commit
    • unknown's avatar
      Bug #25879: THD::options isn't set with ulonglong values and \ · 783b6eb6
      unknown authored
      	variables
      
      Bits higher than 2**31 were impossible to set on THD::options.  It's
      probably a remnant from a time when options was a 32-bit integer.
      
      Now, use unsigned long-long constants and variables to set and clear
      THD::options.
      ---
      Pulled comments back to column 49.
      
      
      sql/mysql_priv.h:
        THD::options is an ulonglong, so we should define our bit constants 
        that way.
        ---
        Pulled comments back to column 49.
      sql/set_var.h:
        THD::options is a ulonglong, and we if we're going to set bits higher
        than 2**31, then we must treat the bitmasks as a 64-bit number.
      783b6eb6
  27. 19 Jan, 2007 1 commit
    • unknown's avatar
      Fixed bug #25219: crash for a query that contains an EXIST subquery with · edf72bf6
      unknown authored
      UNION over correlated and uncorrelated SELECTS.
      In such subqueries each uncorrelated SELECT should be considered as
      uncacheable. Otherwise join_free is called for it and in many cases
      it causes some problems.
      
      
      mysql-test/r/subselect.result:
        Added a test case for bug #25219.
      mysql-test/t/subselect.test:
        Added a test case for bug #25219.
      sql/mysql_priv.h:
        Fixed bug #25219: crash for a query that contains an EXIST subquery with
        UNION over correlated and uncorrelated SELECTS.
        In such subqueries each uncorrelated SELECT should be considered as
        uncacheable. Otherwise join_free is called for it and in many cases
        it causes some problems. 
        Added a new flag UNCACHEABLE_UNITED for such SELECTs.
      sql/sql_lex.cc:
        Fixed bug #25219: crash for a query that contains an EXIST subquery with
        UNION over correlated and uncorrelated SELECTS.
        In such subqueries each uncorrelated SELECT should be considered as
        uncacheable. Otherwise join_free is called for it and in many cases
        it causes some problems.
        Added a new flag UNCACHEABLE_UNITED for such SELECTs.
      edf72bf6
  28. 18 Jan, 2007 1 commit
    • unknown's avatar
      BUG#21490 - No warning issued for deprecated replication parameters · cf0b194d
      unknown authored
      This patch deprecates the replication startup options in the configuration
      file and on the command line. The options deprecated include:
      
      MASTER_HOST, MASTER_USER, MASTER_PASSWORD, MASTER_PORT, MASTER_CONNECT_RETRY,
      MASTER_SSL, MASTER_SSL_CA, MASTER_SSL_CAPATH, MASTER_SSL_CERT, MASTER_SSL_KEY,
      and MASTER_SSL_CIPHER
      
      The code is designed to print the warning message once.
      
      
      sql/mysql_priv.h:
        BUG#21490 - No warning issued for deprecated replication parameters
        This patch modifies the WARN_DEPRECATED macro to permit displaying a deprecated 
        warning to the user at startup when the replication startup options are detected.
        It displays the same messae as the original version of the macro but allows the 
        macro to be called before a thread is created and the ER() macro is defined.
      cf0b194d
  29. 12 Jan, 2007 1 commit
    • unknown's avatar
      BUG#24127: (a,b) IN (SELECT c,d ...) can produce wrong results if a and/or b are NULLs: · 5f97dc6e
      unknown authored
      - Make the code produce correct result: use an array of triggers to turn on/off equalities for each
        compared column. Also turn on/off optimizations based on those equalities.
      - Make EXPLAIN output show "Full scan on NULL key" for tables for which we switch between
        ref/unique_subquery/index_subquery and ALL access.
      - index_subquery engine now has HAVING clause when it is needed, and it is
        displayed in EXPLAIN EXTENDED
      - Fix incorrect presense of "Using index" for index/unique-based subqueries (BUG#22930)
      // bk trigger note: this commit refers to BUG#24127
      
      
      mysql-test/r/ndb_subquery.result:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Updated test results (checked)
      mysql-test/r/subselect.result:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Updated test results (checked)
      mysql-test/r/subselect2.result:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Updated test results (checked)
      mysql-test/r/subselect3.result:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Testcases
      mysql-test/t/subselect3.test:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Testcases
      sql/item_cmpfunc.cc:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - For row-based IN subqueries, use one flag per each column. Set the flags appropriately before
          running the subquery.
      sql/item_cmpfunc.h:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
         - Added Item_func_trig_cond::get_triv_var()
      sql/item_subselect.cc:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Item_subselect::exec() and subselect_*_engine::exec() don't have parameter
          anymore - now Item_subselect owns the pushed down predicates guard flags.
        - A correct set of conditional predicates is now pushed into row-based IN 
          subquery.
        - select_indexsubquery_engine now has "HAVING clause" (needed for correct query
          results), and it is shown in EXPLAIN EXTENDED
      sql/item_subselect.h:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Item_subselect::exec() and subselect_*_engine::exec() don't have parameter
          anymore - now Item_subselect owns the pushed down predicates guard flags.
        - A correct set of conditional predicates is now pushed into row-based IN 
          subquery.
        - select_indexsubquery_engine now has "HAVING clause" (needed for correct query
          results), and it is shown in EXPLAIN EXTENDED
      sql/mysql_priv.h:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Added "in_having_cond" special Item name
      sql/mysqld.cc:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Added "in_having_cond" special Item name
      sql/sql_lex.h:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
      sql/sql_select.cc:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Make "ref" analyzer be able to work with conditional equalities
        - Fix subquery optimization code to match the changes in what kinds of 
          conditions are pushed down into subqueries 
        - Fix wrong EXPLAIN output in some queries with subquery (BUG#22390)
      sql/sql_select.h:
        BUG#24127: wrong result for (null,not-null) IN (SELECT a,b ...)
        - Make "ref" analyzer be able to work with conditional equalities
        - Fix wrong EXPLAIN output in some queries with subquery (BUG#22390)
      5f97dc6e
  30. 11 Jan, 2007 1 commit
    • unknown's avatar
      Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode. · 4d143a6f
      unknown authored
      Currently in the ONLY_FULL_GROUP_BY mode no hidden fields are allowed in the
      select list. To ensure this each expression in the select list is checked
      to be a constant, an aggregate function or to occur in the GROUP BY list.
      The last two requirements are wrong and doesn't allow valid expressions like
      "MAX(b) - MIN(b)" or "a + 1" in a query with grouping by a.
      
      The correct check implemented by the patch will ensure that:
      any field reference in the [sub]expressions of the select list 
        is under an aggregate function or
        is mentioned as member of the group list or
        is an outer reference or
        is part of the select list element that coincide with a grouping element.
      
      The Item_field objects now can contain the position of the select list
      expression which they belong to. The position is saved during the
      field's Item_field::fix_fields() call.
      
      The non_agg_fields list for non-aggregated fields is added to the SELECT_LEX
      class. The SELECT_LEX::cur_pos_in_select_list now contains the position in the
      select list of the expression being currently fixed.
      
      
      sql/item.cc:
        Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
        The Item_field objects now contain the position of the select list
        expression which they belong to. The position is saved at the field's
        Item_field::fix_fields() call.
      sql/item.h:
        Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
        The Item_field objects now can store the position in the select list of the
        expression to which they are belongs to.
      sql/mysql_priv.h:
        Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
        Added the UNDEF_POS constant.
      sql/sql_base.cc:
        Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
        Now the setup_fields() function maintains the cur_pos_in_select_list variable.
      sql/sql_lex.cc:
        Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
        Set the cur_pos_in_select_list variable and the non_agg_fields list to their initial state.
      sql/sql_lex.h:
        Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
        The non_agg_fields list for non-aggregated fields is added to the SELECT_LEX
        class. The SELECT_LEX::cur_pos_in_select_list now stores the position in the
        select list of the expression being currently fixed.
      sql/sql_select.cc:
        Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
        Each select now keeps the list of fields that aren't
        used under any aggregate function. If an expression from the select list
        isn't found in the GROUP BY list the setup_group() function additionally
        checks whether non-aggregated fields occur in that expression.
        If there at least one such field and it isn't found in the GROUP BY list
        then an error is thrown.
      sql/sql_union.cc:
        Bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
        Clean up of the non_agg_fields list.
      mysql-test/r/group_by.result:
        Added a test case for the bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
      mysql-test/t/group_by.test:
        Added a test case for the bug#23417: Too strict checks against GROUP BY in the ONLY_FULL_GROUP_BY mode.
      4d143a6f
  31. 10 Jan, 2007 1 commit
    • unknown's avatar
      Fix for bug#20867 InnoDB Bug - create temporary table+crash => mysqld needs to clean up · ac71a8fa
      unknown authored
      2nd version
      During tmp tables cleanup we get the handler for temporary table
      and delete table using handler method.
      
      
      sql/mysql_priv.h:
        added function prototype
      sql/mysqld.cc:
        added call of mysql_rm_tmp_tables() function
      sql/sql_base.cc:
        mysql_rm_tmp_tables()
        -removed from table_cache_init
        -During tmp tables cleanup we get the handler for temporary table
         and delete table using handler method. 
         it allows to remove orphan records from data dictionary(InnoDB)
      ac71a8fa
  32. 23 Dec, 2006 1 commit
    • unknown's avatar
      Many files: · 6b0853a3
      unknown authored
        Changed header to GPL version 2 only
      
      
      BUILD/Makefile.am:
        Changed header to GPL version 2 only
      Docs/Makefile.am:
        Changed header to GPL version 2 only
      Makefile.am:
        Changed header to GPL version 2 only
      SSL/Makefile.am:
        Changed header to GPL version 2 only
      bdb/Makefile.in:
        Changed header to GPL version 2 only
      client/Makefile.am:
        Changed header to GPL version 2 only
      client/client_priv.h:
        Changed header to GPL version 2 only
      client/completion_hash.cc:
        Changed header to GPL version 2 only
      client/completion_hash.h:
        Changed header to GPL version 2 only
      client/get_password.c:
        Changed header to GPL version 2 only
      client/my_readline.h:
        Changed header to GPL version 2 only
      client/mysql.cc:
        Changed header to GPL version 2 only
      client/mysql_upgrade.c:
        Changed header to GPL version 2 only
      client/mysqladmin.cc:
        Changed header to GPL version 2 only
      client/mysqlbinlog.cc:
        Changed header to GPL version 2 only
      client/mysqlcheck.c:
        Changed header to GPL version 2 only
      client/mysqldump.c:
        Changed header to GPL version 2 only
      client/mysqlimport.c:
        Changed header to GPL version 2 only
      client/mysqlmanager-pwgen.c:
        Changed header to GPL version 2 only
      client/mysqlmanagerc.c:
        Changed header to GPL version 2 only
      client/mysqlshow.c:
        Changed header to GPL version 2 only
      client/mysqltest.c:
        Changed header to GPL version 2 only
      client/readline.cc:
        Changed header to GPL version 2 only
      client/sql_string.cc:
        Changed header to GPL version 2 only
      client/sql_string.h:
        Changed header to GPL version 2 only
      cmd-line-utils/Makefile.am:
        Changed header to GPL version 2 only
      dbug/Makefile.am:
        Changed header to GPL version 2 only
      extra/Makefile.am:
        Changed header to GPL version 2 only
      extra/charset2html.c:
        Changed header to GPL version 2 only
      extra/comp_err.c:
        Changed header to GPL version 2 only
      extra/innochecksum.c:
        Changed header to GPL version 2 only
      extra/my_print_defaults.c:
        Changed header to GPL version 2 only
      extra/mysql_waitpid.c:
        Changed header to GPL version 2 only
      extra/perror.c:
        Changed header to GPL version 2 only
      extra/replace.c:
        Changed header to GPL version 2 only
      extra/resolve_stack_dump.c:
        Changed header to GPL version 2 only
      extra/resolveip.c:
        Changed header to GPL version 2 only
      heap/Makefile.am:
        Changed header to GPL version 2 only
      heap/_check.c:
        Changed header to GPL version 2 only
      heap/_rectest.c:
        Changed header to GPL version 2 only
      heap/heapdef.h:
        Changed header to GPL version 2 only
      heap/hp_block.c:
        Changed header to GPL version 2 only
      heap/hp_clear.c:
        Changed header to GPL version 2 only
      heap/hp_close.c:
        Changed header to GPL version 2 only
      heap/hp_create.c:
        Changed header to GPL version 2 only
      heap/hp_delete.c:
        Changed header to GPL version 2 only
      heap/hp_extra.c:
        Changed header to GPL version 2 only
      heap/hp_hash.c:
        Changed header to GPL version 2 only
      heap/hp_info.c:
        Changed header to GPL version 2 only
      heap/hp_open.c:
        Changed header to GPL version 2 only
      heap/hp_panic.c:
        Changed header to GPL version 2 only
      heap/hp_rename.c:
        Changed header to GPL version 2 only
      heap/hp_rfirst.c:
        Changed header to GPL version 2 only
      heap/hp_rkey.c:
        Changed header to GPL version 2 only
      heap/hp_rlast.c:
        Changed header to GPL version 2 only
      heap/hp_rnext.c:
        Changed header to GPL version 2 only
      heap/hp_rprev.c:
        Changed header to GPL version 2 only
      heap/hp_rrnd.c:
        Changed header to GPL version 2 only
      heap/hp_rsame.c:
        Changed header to GPL version 2 only
      heap/hp_scan.c:
        Changed header to GPL version 2 only
      heap/hp_static.c:
        Changed header to GPL version 2 only
      heap/hp_test1.c:
        Changed header to GPL version 2 only
      heap/hp_test2.c:
        Changed header to GPL version 2 only
      heap/hp_update.c:
        Changed header to GPL version 2 only
      heap/hp_write.c:
        Changed header to GPL version 2 only
      include/Makefile.am:
        Changed header to GPL version 2 only
      include/base64.h:
        Changed header to GPL version 2 only
      include/config-netware.h:
        Changed header to GPL version 2 only
      include/config-os2.h:
        Changed header to GPL version 2 only
      include/config-win.h:
        Changed header to GPL version 2 only
      include/decimal.h:
        Changed header to GPL version 2 only
      include/errmsg.h:
        Changed header to GPL version 2 only
      include/ft_global.h:
        Changed header to GPL version 2 only
      include/hash.h:
        Changed header to GPL version 2 only
      include/heap.h:
        Changed header to GPL version 2 only
      include/keycache.h:
        Changed header to GPL version 2 only
      include/m_ctype.h:
        Changed header to GPL version 2 only
      include/m_string.h:
        Changed header to GPL version 2 only
      include/md5.h:
        Changed header to GPL version 2 only
      include/my_aes.h:
        Changed header to GPL version 2 only
      include/my_alarm.h:
        Changed header to GPL version 2 only
      include/my_alloc.h:
        Changed header to GPL version 2 only
      include/my_base.h:
        Changed header to GPL version 2 only
      include/my_bitmap.h:
        Changed header to GPL version 2 only
      include/my_dbug.h:
        Changed header to GPL version 2 only
      include/my_dir.h:
        Changed header to GPL version 2 only
      include/my_getopt.h:
        Changed header to GPL version 2 only
      include/my_global.h:
        Changed header to GPL version 2 only
      include/my_handler.h:
        Changed header to GPL version 2 only
      include/my_libwrap.h:
        Changed header to GPL version 2 only
      include/my_list.h:
        Changed header to GPL version 2 only
      include/my_net.h:
        Changed header to GPL version 2 only
      include/my_no_pthread.h:
        Changed header to GPL version 2 only
      include/my_nosys.h:
        Changed header to GPL version 2 only
      include/my_pthread.h:
        Changed header to GPL version 2 only
      include/my_sys.h:
        Changed header to GPL version 2 only
      include/my_time.h:
        Changed header to GPL version 2 only
      include/my_tree.h:
        Changed header to GPL version 2 only
      include/my_user.h:
        Changed header to GPL version 2 only
      include/my_xml.h:
        Changed header to GPL version 2 only
      include/myisam.h:
        Changed header to GPL version 2 only
      include/myisammrg.h:
        Changed header to GPL version 2 only
      include/myisampack.h:
        Changed header to GPL version 2 only
      include/mysql.h:
        Changed header to GPL version 2 only
      include/mysql_com.h:
        Changed header to GPL version 2 only
      include/mysql_embed.h:
        Changed header to GPL version 2 only
      include/mysql_time.h:
        Changed header to GPL version 2 only
      include/mysys_err.h:
        Changed header to GPL version 2 only
      include/queues.h:
        Changed header to GPL version 2 only
      include/raid.h:
        Changed header to GPL version 2 only
      include/rijndael.h:
        Changed header to GPL version 2 only
      include/sha1.h:
        Changed header to GPL version 2 only
      include/sql_common.h:
        Changed header to GPL version 2 only
      include/sslopt-case.h:
        Changed header to GPL version 2 only
      include/sslopt-longopts.h:
        Changed header to GPL version 2 only
      include/sslopt-vars.h:
        Changed header to GPL version 2 only
      include/t_ctype.h:
        Changed header to GPL version 2 only
      include/thr_alarm.h:
        Changed header to GPL version 2 only
      include/thr_lock.h:
        Changed header to GPL version 2 only
      include/typelib.h:
        Changed header to GPL version 2 only
      include/violite.h:
        Changed header to GPL version 2 only
      innobase/Makefile.am:
        Changed header to GPL version 2 only
      innobase/btr/Makefile.am:
        Changed header to GPL version 2 only
      innobase/buf/Makefile.am:
        Changed header to GPL version 2 only
      innobase/data/Makefile.am:
        Changed header to GPL version 2 only
      innobase/dict/Makefile.am:
        Changed header to GPL version 2 only
      innobase/dyn/Makefile.am:
        Changed header to GPL version 2 only
      innobase/eval/Makefile.am:
        Changed header to GPL version 2 only
      innobase/fil/Makefile.am:
        Changed header to GPL version 2 only
      innobase/fsp/Makefile.am:
        Changed header to GPL version 2 only
      innobase/fut/Makefile.am:
        Changed header to GPL version 2 only
      innobase/ha/Makefile.am:
        Changed header to GPL version 2 only
      innobase/ibuf/Makefile.am:
        Changed header to GPL version 2 only
      innobase/include/Makefile.am:
        Changed header to GPL version 2 only
      innobase/lock/Makefile.am:
        Changed header to GPL version 2 only
      innobase/log/Makefile.am:
        Changed header to GPL version 2 only
      innobase/mach/Makefile.am:
        Changed header to GPL version 2 only
      innobase/mem/Makefile.am:
        Changed header to GPL version 2 only
      innobase/mtr/Makefile.am:
        Changed header to GPL version 2 only
      innobase/os/Makefile.am:
        Changed header to GPL version 2 only
      innobase/page/Makefile.am:
        Changed header to GPL version 2 only
      innobase/pars/Makefile.am:
        Changed header to GPL version 2 only
      innobase/que/Makefile.am:
        Changed header to GPL version 2 only
      innobase/read/Makefile.am:
        Changed header to GPL version 2 only
      innobase/rem/Makefile.am:
        Changed header to GPL version 2 only
      innobase/row/Makefile.am:
        Changed header to GPL version 2 only
      innobase/srv/Makefile.am:
        Changed header to GPL version 2 only
      innobase/sync/Makefile.am:
        Changed header to GPL version 2 only
      innobase/thr/Makefile.am:
        Changed header to GPL version 2 only
      innobase/trx/Makefile.am:
        Changed header to GPL version 2 only
      innobase/usr/Makefile.am:
        Changed header to GPL version 2 only
      innobase/ut/Makefile.am:
        Changed header to GPL version 2 only
      libmysql/client_settings.h:
        Changed header to GPL version 2 only
      libmysqld/Makefile.am:
        Changed header to GPL version 2 only
      libmysqld/emb_qcache.cc:
        Changed header to GPL version 2 only
      libmysqld/emb_qcache.h:
        Changed header to GPL version 2 only
      libmysqld/embedded_priv.h:
        Changed header to GPL version 2 only
      libmysqld/examples/Makefile.am:
        Changed header to GPL version 2 only
      libmysqld/libmysqld.c:
        Changed header to GPL version 2 only
      man/Makefile.am:
        Changed header to GPL version 2 only
      myisam/Makefile.am:
        Changed header to GPL version 2 only
      myisam/ft_boolean_search.c:
        Changed header to GPL version 2 only
      myisam/ft_eval.c:
        Changed header to GPL version 2 only
      myisam/ft_eval.h:
        Changed header to GPL version 2 only
      myisam/ft_nlq_search.c:
        Changed header to GPL version 2 only
      myisam/ft_parser.c:
        Changed header to GPL version 2 only
      myisam/ft_static.c:
        Changed header to GPL version 2 only
      myisam/ft_stem.c:
        Changed header to GPL version 2 only
      myisam/ft_stopwords.c:
        Changed header to GPL version 2 only
      myisam/ft_test1.c:
        Changed header to GPL version 2 only
      myisam/ft_test1.h:
        Changed header to GPL version 2 only
      myisam/ft_update.c:
        Changed header to GPL version 2 only
      myisam/ftdefs.h:
        Changed header to GPL version 2 only
      myisam/fulltext.h:
        Changed header to GPL version 2 only
      myisam/mi_cache.c:
        Changed header to GPL version 2 only
      myisam/mi_changed.c:
        Changed header to GPL version 2 only
      myisam/mi_check.c:
        Changed header to GPL version 2 only
      myisam/mi_checksum.c:
        Changed header to GPL version 2 only
      myisam/mi_close.c:
        Changed header to GPL version 2 only
      myisam/mi_create.c:
        Changed header to GPL version 2 only
      myisam/mi_dbug.c:
        Changed header to GPL version 2 only
      myisam/mi_delete.c:
        Changed header to GPL version 2 only
      myisam/mi_delete_all.c:
        Changed header to GPL version 2 only
      myisam/mi_delete_table.c:
        Changed header to GPL version 2 only
      myisam/mi_dynrec.c:
        Changed header to GPL version 2 only
      myisam/mi_extra.c:
        Changed header to GPL version 2 only
      myisam/mi_info.c:
        Changed header to GPL version 2 only
      myisam/mi_key.c:
        Changed header to GPL version 2 only
      myisam/mi_keycache.c:
        Changed header to GPL version 2 only
      myisam/mi_locking.c:
        Changed header to GPL version 2 only
      myisam/mi_log.c:
        Changed header to GPL version 2 only
      myisam/mi_open.c:
        Changed header to GPL version 2 only
      myisam/mi_packrec.c:
        Changed header to GPL version 2 only
      myisam/mi_page.c:
        Changed header to GPL version 2 only
      myisam/mi_panic.c:
        Changed header to GPL version 2 only
      myisam/mi_preload.c:
        Changed header to GPL version 2 only
      myisam/mi_range.c:
        Changed header to GPL version 2 only
      myisam/mi_rename.c:
        Changed header to GPL version 2 only
      myisam/mi_rfirst.c:
        Changed header to GPL version 2 only
      myisam/mi_rkey.c:
        Changed header to GPL version 2 only
      myisam/mi_rlast.c:
        Changed header to GPL version 2 only
      myisam/mi_rnext.c:
        Changed header to GPL version 2 only
      myisam/mi_rnext_same.c:
        Changed header to GPL version 2 only
      myisam/mi_rprev.c:
        Changed header to GPL version 2 only
      myisam/mi_rrnd.c:
        Changed header to GPL version 2 only
      myisam/mi_rsame.c:
        Changed header to GPL version 2 only
      myisam/mi_rsamepos.c:
        Changed header to GPL version 2 only
      myisam/mi_scan.c:
        Changed header to GPL version 2 only
      myisam/mi_search.c:
        Changed header to GPL version 2 only
      myisam/mi_static.c:
        Changed header to GPL version 2 only
      myisam/mi_statrec.c:
        Changed header to GPL version 2 only
      myisam/mi_test1.c:
        Changed header to GPL version 2 only
      myisam/mi_test2.c:
        Changed header to GPL version 2 only
      myisam/mi_test3.c:
        Changed header to GPL version 2 only
      myisam/mi_unique.c:
        Changed header to GPL version 2 only
      myisam/mi_update.c:
        Changed header to GPL version 2 only
      myisam/mi_write.c:
        Changed header to GPL version 2 only
      myisam/myisam_ftdump.c:
        Changed header to GPL version 2 only
      myisam/myisamchk.c:
        Changed header to GPL version 2 only
      myisam/myisamdef.h:
        Changed header to GPL version 2 only
      myisam/myisamlog.c:
        Changed header to GPL version 2 only
      myisam/myisampack.c:
        Changed header to GPL version 2 only
      myisam/rt_index.c:
        Changed header to GPL version 2 only
      myisam/rt_index.h:
        Changed header to GPL version 2 only
      myisam/rt_key.c:
        Changed header to GPL version 2 only
      myisam/rt_key.h:
        Changed header to GPL version 2 only
      myisam/rt_mbr.c:
        Changed header to GPL version 2 only
      myisam/rt_mbr.h:
        Changed header to GPL version 2 only
      myisam/rt_split.c:
        Changed header to GPL version 2 only
      myisam/rt_test.c:
        Changed header to GPL version 2 only
      myisam/sort.c:
        Changed header to GPL version 2 only
      myisam/sp_defs.h:
        Changed header to GPL version 2 only
      myisam/sp_key.c:
        Changed header to GPL version 2 only
      myisam/sp_test.c:
        Changed header to GPL version 2 only
      myisammrg/Makefile.am:
        Changed header to GPL version 2 only
      myisammrg/myrg_close.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_create.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_def.h:
        Changed header to GPL version 2 only
      myisammrg/myrg_delete.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_extra.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_info.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_locking.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_open.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_panic.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_queue.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_range.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_rfirst.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_rkey.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_rlast.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_rnext.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_rnext_same.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_rprev.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_rrnd.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_rsame.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_static.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_update.c:
        Changed header to GPL version 2 only
      myisammrg/myrg_write.c:
        Changed header to GPL version 2 only
      mysql-test/Makefile.am:
        Changed header to GPL version 2 only
      mysys/Makefile.am:
        Changed header to GPL version 2 only
      mysys/array.c:
        Changed header to GPL version 2 only
      mysys/base64.c:
        Changed header to GPL version 2 only
      mysys/charset-def.c:
        Changed header to GPL version 2 only
      mysys/charset.c:
        Changed header to GPL version 2 only
      mysys/checksum.c:
        Changed header to GPL version 2 only
      mysys/default.c:
        Changed header to GPL version 2 only
      mysys/default_modify.c:
        Changed header to GPL version 2 only
      mysys/errors.c:
        Changed header to GPL version 2 only
      mysys/hash.c:
        Changed header to GPL version 2 only
      mysys/list.c:
        Changed header to GPL version 2 only
      mysys/make-conf.c:
        Changed header to GPL version 2 only
      mysys/md5.c:
        Changed header to GPL version 2 only
      mysys/mf_brkhant.c:
        Changed header to GPL version 2 only
      mysys/mf_cache.c:
        Changed header to GPL version 2 only
      mysys/mf_dirname.c:
        Changed header to GPL version 2 only
      mysys/mf_fn_ext.c:
        Changed header to GPL version 2 only
      mysys/mf_format.c:
        Changed header to GPL version 2 only
      mysys/mf_getdate.c:
        Changed header to GPL version 2 only
      mysys/mf_iocache.c:
        Changed header to GPL version 2 only
      mysys/mf_iocache2.c:
        Changed header to GPL version 2 only
      mysys/mf_keycache.c:
        Changed header to GPL version 2 only
      mysys/mf_keycaches.c:
        Changed header to GPL version 2 only
      mysys/mf_loadpath.c:
        Changed header to GPL version 2 only
      mysys/mf_pack.c:
        Changed header to GPL version 2 only
      mysys/mf_path.c:
        Changed header to GPL version 2 only
      mysys/mf_qsort.c:
        Changed header to GPL version 2 only
      mysys/mf_qsort2.c:
        Changed header to GPL version 2 only
      mysys/mf_radix.c:
        Changed header to GPL version 2 only
      mysys/mf_same.c:
        Changed header to GPL version 2 only
      mysys/mf_sort.c:
        Changed header to GPL version 2 only
      mysys/mf_soundex.c:
        Changed header to GPL version 2 only
      mysys/mf_strip.c:
        Changed header to GPL version 2 only
      mysys/mf_tempdir.c:
        Changed header to GPL version 2 only
      mysys/mf_tempfile.c:
        Changed header to GPL version 2 only
      mysys/mf_unixpath.c:
        Changed header to GPL version 2 only
      mysys/mf_util.c:
        Changed header to GPL version 2 only
      mysys/mf_wcomp.c:
        Changed header to GPL version 2 only
      mysys/mf_wfile.c:
        Changed header to GPL version 2 only
      mysys/mulalloc.c:
        Changed header to GPL version 2 only
      mysys/my_access.c:
        Changed header to GPL version 2 only
      mysys/my_aes.c:
        Changed header to GPL version 2 only
      mysys/my_alarm.c:
        Changed header to GPL version 2 only
      mysys/my_alloc.c:
        Changed header to GPL version 2 only
      mysys/my_append.c:
        Changed header to GPL version 2 only
      mysys/my_bit.c:
        Changed header to GPL version 2 only
      mysys/my_bitmap.c:
        Changed header to GPL version 2 only
      mysys/my_chsize.c:
        Changed header to GPL version 2 only
      mysys/my_clock.c:
        Changed header to GPL version 2 only
      mysys/my_compress.c:
        Changed header to GPL version 2 only
      mysys/my_conio.c:
        Changed header to GPL version 2 only
      mysys/my_copy.c:
        Changed header to GPL version 2 only
      mysys/my_crc32.c:
        Changed header to GPL version 2 only
      mysys/my_create.c:
        Changed header to GPL version 2 only
      mysys/my_delete.c:
        Changed header to GPL version 2 only
      mysys/my_div.c:
        Changed header to GPL version 2 only
      mysys/my_dup.c:
        Changed header to GPL version 2 only
      mysys/my_error.c:
        Changed header to GPL version 2 only
      mysys/my_file.c:
        Changed header to GPL version 2 only
      mysys/my_fopen.c:
        Changed header to GPL version 2 only
      mysys/my_fstream.c:
        Changed header to GPL version 2 only
      mysys/my_gethostbyname.c:
        Changed header to GPL version 2 only
      mysys/my_gethwaddr.c:
        Changed header to GPL version 2 only
      mysys/my_getopt.c:
        Changed header to GPL version 2 only
      mysys/my_getpagesize.c:
        Changed header to GPL version 2 only
      mysys/my_getsystime.c:
        Changed header to GPL version 2 only
      mysys/my_getwd.c:
        Changed header to GPL version 2 only
      mysys/my_handler.c:
        Changed header to GPL version 2 only
      mysys/my_init.c:
        Changed header to GPL version 2 only
      mysys/my_largepage.c:
        Changed header to GPL version 2 only
      mysys/my_lib.c:
        Changed header to GPL version 2 only
      mysys/my_libwrap.c:
        Changed header to GPL version 2 only
      mysys/my_lock.c:
        Changed header to GPL version 2 only
      mysys/my_lockmem.c:
        Changed header to GPL version 2 only
      mysys/my_lread.c:
        Changed header to GPL version 2 only
      mysys/my_lwrite.c:
        Changed header to GPL version 2 only
      mysys/my_malloc.c:
        Changed header to GPL version 2 only
      mysys/my_messnc.c:
        Changed header to GPL version 2 only
      mysys/my_mkdir.c:
        Changed header to GPL version 2 only
      mysys/my_mmap.c:
        Changed header to GPL version 2 only
      mysys/my_net.c:
        Changed header to GPL version 2 only
      mysys/my_netware.c:
        Changed header to GPL version 2 only
      mysys/my_new.cc:
        Changed header to GPL version 2 only
      mysys/my_once.c:
        Changed header to GPL version 2 only
      mysys/my_open.c:
        Changed header to GPL version 2 only
      mysys/my_os2cond.c:
        Changed header to GPL version 2 only
      mysys/my_os2dirsrch.c:
        Changed header to GPL version 2 only
      mysys/my_os2dirsrch.h:
        Changed header to GPL version 2 only
      mysys/my_os2dlfcn.c:
        Changed header to GPL version 2 only
      mysys/my_os2dlfcn.h0:
        Changed header to GPL version 2 only
      mysys/my_os2file64.c:
        Changed header to GPL version 2 only
      mysys/my_os2thread.c:
        Changed header to GPL version 2 only
      mysys/my_os2tls.c:
        Changed header to GPL version 2 only
      mysys/my_port.c:
        Changed header to GPL version 2 only
      mysys/my_pread.c:
        Changed header to GPL version 2 only
      mysys/my_pthread.c:
        Changed header to GPL version 2 only
      mysys/my_quick.c:
        Changed header to GPL version 2 only
      mysys/my_read.c:
        Changed header to GPL version 2 only
      mysys/my_realloc.c:
        Changed header to GPL version 2 only
      mysys/my_redel.c:
        Changed header to GPL version 2 only
      mysys/my_rename.c:
        Changed header to GPL version 2 only
      mysys/my_seek.c:
        Changed header to GPL version 2 only
      mysys/my_semaphore.c:
        Changed header to GPL version 2 only
      mysys/my_sleep.c:
        Changed header to GPL version 2 only
      mysys/my_static.c:
        Changed header to GPL version 2 only
      mysys/my_static.h:
        Changed header to GPL version 2 only
      mysys/my_symlink.c:
        Changed header to GPL version 2 only
      mysys/my_symlink2.c:
        Changed header to GPL version 2 only
      mysys/my_sync.c:
        Changed header to GPL version 2 only
      mysys/my_thr_init.c:
        Changed header to GPL version 2 only
      mysys/my_wincond.c:
        Changed header to GPL version 2 only
      mysys/my_windac.c:
        Changed header to GPL version 2 only
      mysys/my_winthread.c:
        Changed header to GPL version 2 only
      mysys/my_write.c:
        Changed header to GPL version 2 only
      mysys/mysys_priv.h:
        Changed header to GPL version 2 only
      mysys/ptr_cmp.c:
        Changed header to GPL version 2 only
      mysys/queues.c:
        Changed header to GPL version 2 only
      mysys/raid.cc:
        Changed header to GPL version 2 only
      mysys/raid2.c:
        Changed header to GPL version 2 only
      mysys/rijndael.c:
        Changed header to GPL version 2 only
      mysys/safemalloc.c:
        Changed header to GPL version 2 only
      mysys/sha1.c:
        Changed header to GPL version 2 only
      mysys/string.c:
        Changed header to GPL version 2 only
      mysys/test_charset.c:
        Changed header to GPL version 2 only
      mysys/test_dir.c:
        Changed header to GPL version 2 only
      mysys/test_fn.c:
        Changed header to GPL version 2 only
      mysys/test_xml.c:
        Changed header to GPL version 2 only
      mysys/testhash.c:
        Changed header to GPL version 2 only
      mysys/thr_alarm.c:
        Changed header to GPL version 2 only
      mysys/thr_lock.c:
        Changed header to GPL version 2 only
      mysys/thr_mutex.c:
        Changed header to GPL version 2 only
      mysys/thr_rwlock.c:
        Changed header to GPL version 2 only
      mysys/tree.c:
        Changed header to GPL version 2 only
      mysys/typelib.c:
        Changed header to GPL version 2 only
      ndb/include/debugger/DebuggerNames.hpp:
        Changed header to GPL version 2 only
      ndb/include/debugger/EventLogger.hpp:
        Changed header to GPL version 2 only
      ndb/include/debugger/GrepError.hpp:
        Changed header to GPL version 2 only
      ndb/include/debugger/SignalLoggerManager.hpp:
        Changed header to GPL version 2 only
      ndb/include/editline/editline.h:
        Changed header to GPL version 2 only
      ndb/include/kernel/AttributeDescriptor.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/AttributeHeader.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/AttributeList.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/BlockNumbers.h:
        Changed header to GPL version 2 only
      ndb/include/kernel/GlobalSignalNumbers.h:
        Changed header to GPL version 2 only
      ndb/include/kernel/GrepEvent.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/Interpreter.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/LogLevel.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/NodeBitmask.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/NodeInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/NodeState.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/RefConvert.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/kernel_types.h:
        Changed header to GPL version 2 only
      ndb/include/kernel/ndb_limits.h:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AbortAll.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AccFrag.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AccLock.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AccScan.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AccSizeAltReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AlterIndx.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AlterTab.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AlterTable.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AlterTrig.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ApiBroadcast.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ApiRegSignalData.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ApiVersion.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ArbitSignalData.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/trigger_definitions.h:
        Changed header to GPL version 2 only
      ndb/include/ndb_constants.h:
        Changed header to GPL version 2 only
      ndb/include/ndb_global.h.in:
        Changed header to GPL version 2 only
      ndb/include/ndb_init.h:
        Changed header to GPL version 2 only
      ndb/include/ndb_types.h.in:
        Changed header to GPL version 2 only
      ndb/include/ndb_version.h.in:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/AttrInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/BackupContinueB.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/BackupImpl.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/BackupSignalData.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/BlockCommitOrd.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/BuildIndx.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CheckNodeGroups.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CloseComReqConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CmInit.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CmRegSignalData.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CmvmiCfgConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CntrMasterConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CntrMasterReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ConfigParamId.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ContinueFragmented.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CopyActive.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CopyFrag.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CopyGCIReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CreateEvnt.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CreateFrag.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CreateFragmentation.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CreateIndx.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CreateTab.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CreateTable.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/CreateTrig.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DiAddTab.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DiGetNodes.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DictLock.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DictSchemaInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DictSizeAltReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DictStart.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DihAddFrag.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DihContinueB.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DihSizeAltReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DihStartTab.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DihSwitchReplica.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DisconnectRep.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DropIndx.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DropTab.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DropTabFile.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DropTable.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DropTrig.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/EmptyLcp.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/EndTo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/EventReport.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/EventSubscribeReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ExecFragReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FailRep.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FireTrigOrd.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FsAppendReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FsCloseReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FsConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FsOpenReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FsReadWriteReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FsRef.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/FsRemoveReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/GCPSave.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/GetTabInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/GetTableId.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/GrepImpl.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/HotSpareRep.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/IndxAttrInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/IndxKeyInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/InvalidateNodeLCPConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/InvalidateNodeLCPReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/KeyInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/LCP.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ListTables.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/LqhFrag.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/LqhKey.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/LqhSizeAltReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/LqhTransConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ManagementServer.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/MasterGCP.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/MasterLCP.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/NFCompleteRep.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/NdbSttor.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/NdbfsContinueB.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/NextScan.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/NodeFailRep.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/NodeStateSignalData.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/PackedSignal.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/PrepDropTab.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/PrepFailReqRef.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ReadNodesConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/RelTabMem.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/RepImpl.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ResumeReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/SetLogLevelOrd.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/SetVarReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/SignalData.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/SignalDataPrint.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/SignalDroppedRep.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/SrFragidConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StartFragReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StartInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StartMe.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StartOrd.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StartPerm.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StartRec.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StartTo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StopMe.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StopPerm.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/StopReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/SumaImpl.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/SystemError.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TamperOrd.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcCommit.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcContinueB.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcHbRep.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcIndx.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcKeyConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcKeyFailConf.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcKeyRef.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcKeyReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcRollbackRep.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TcSizeAltReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TestOrd.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TransIdAI.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TrigAttrInfo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TupCommit.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TupFrag.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TupKey.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TupSizeAltReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TuxBound.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TuxContinueB.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TuxMaint.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/TuxSizeAltReq.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/UpdateTo.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/UtilDelete.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/UtilExecute.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/UtilLock.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/UtilPrepare.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/UtilRelease.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/UtilSequence.hpp:
        Changed header to GPL version 2 only
      ndb/include/kernel/signaldata/WaitGCP.hpp:
        Changed header to GPL version 2 only
      ndb/include/logger/ConsoleLogHandler.hpp:
        Changed header to GPL version 2 only
      ndb/include/logger/FileLogHandler.hpp:
        Changed header to GPL version 2 only
      ndb/include/logger/LogHandler.hpp:
        Changed header to GPL version 2 only
      ndb/include/logger/Logger.hpp:
        Changed header to GPL version 2 only
      ndb/include/logger/SysLogHandler.hpp:
        Changed header to GPL version 2 only
      ndb/include/mgmapi/mgmapi.h:
        Changed header to GPL version 2 only
      ndb/include/mgmapi/mgmapi_debug.h:
        Changed header to GPL version 2 only
      ndb/include/mgmapi/ndb_logevent.h:
        Changed header to GPL version 2 only
      ndb/include/mgmapi/ndbd_exit_codes.h:
        Changed header to GPL version 2 only
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        Changed header to GPL version 2 only
      ndb/include/mgmcommon/IPCConfig.hpp:
        Changed header to GPL version 2 only
      ndb/include/mgmcommon/MgmtErrorReporter.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/Ndb.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbApi.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbBlob.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbDictionary.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbError.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbEventOperation.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbOperation.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbPool.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbRecAttr.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbReceiver.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbScanFilter.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/NdbTransaction.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/ndb_opt_defaults.h:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/ndbapi_limits.h:
        Changed header to GPL version 2 only
      ndb/include/ndbapi/ndberror.h:
        Changed header to GPL version 2 only
      ndb/include/newtonapi/dba.h:
        Changed header to GPL version 2 only
      ndb/include/newtonapi/defs/pcn_types.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbCondition.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbConfig.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbDaemon.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbEnv.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbHost.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbMain.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbMem.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbMutex.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbSleep.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbTCP.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbThread.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/NdbTick.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/PortDefs.h:
        Changed header to GPL version 2 only
      ndb/include/portlib/prefetch.h:
        Changed header to GPL version 2 only
      ndb/include/transporter/TransporterCallback.hpp:
        Changed header to GPL version 2 only
      ndb/include/transporter/TransporterDefinitions.hpp:
        Changed header to GPL version 2 only
      ndb/include/transporter/TransporterRegistry.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/BaseString.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/Bitmask.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/File.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/InputStream.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/NdbAutoPtr.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/NdbOut.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/NdbSqlUtil.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/OutputStream.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/Parser.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/Properties.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/SimpleProperties.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/SocketAuthenticator.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/SocketClient.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/SocketServer.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/UtilBuffer.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/Vector.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/basestring_vsnprintf.h:
        Changed header to GPL version 2 only
      ndb/include/util/md5_hash.hpp:
        Changed header to GPL version 2 only
      ndb/include/util/ndb_opts.h:
        Changed header to GPL version 2 only
      ndb/include/util/random.h:
        Changed header to GPL version 2 only
      ndb/include/util/socket_io.h:
        Changed header to GPL version 2 only
      ndb/include/util/uucode.h:
        Changed header to GPL version 2 only
      ndb/include/util/version.h:
        Changed header to GPL version 2 only
      ndb/ndbapi-examples/mgmapi_logevent_example/mgmapi_logevent.cpp:
        Changed header to GPL version 2 only
      ndb/ndbapi-examples/ndbapi_async_example/ndbapi_async.cpp:
        Changed header to GPL version 2 only
      ndb/ndbapi-examples/ndbapi_async_example1/ndbapi_async1.cpp:
        Changed header to GPL version 2 only
      ndb/ndbapi-examples/ndbapi_event_example/ndbapi_event.cpp:
        Changed header to GPL version 2 only
      ndb/ndbapi-examples/ndbapi_retries_example/ndbapi_retries.cpp:
        Changed header to GPL version 2 only
      ndb/ndbapi-examples/ndbapi_scan_example/ndbapi_scan.cpp:
        Changed header to GPL version 2 only
      ndb/ndbapi-examples/ndbapi_simple_example/ndbapi_simple.cpp:
        Changed header to GPL version 2 only
      ndb/ndbapi-examples/ndbapi_simple_index_example/ndbapi_simple_index.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/BlockNames.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/DebuggerNames.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/EventLogger.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/GrepError.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/SignalLoggerManager.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/AccLock.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/AlterIndx.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/AlterTab.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/AlterTable.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/AlterTrig.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/BackupImpl.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/BackupSignalData.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/CloseComReqConf.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/ContinueB.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/CopyGCI.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/CreateEvnt.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/CreateFragmentation.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/CreateIndx.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/CreateTrig.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/DihContinueB.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/DihSwitchReplicaReq.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/DisconnectRep.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/DropIndx.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/DropTab.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/DropTrig.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/FailRep.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/FireTrigOrd.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/FsAppendReq.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/FsCloseReq.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/FsConf.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/FsOpenReq.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/FsRef.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/GCPSave.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/IndxAttrInfo.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/IndxKeyInfo.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/LCP.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/LqhFrag.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/LqhKey.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/LqhTrans.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/MasterLCP.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/NFCompleteRep.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/NdbSttor.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/PackedSignal.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/PrepDropTab.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/PrepFailReqRef.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/ScanFrag.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/SignalDroppedRep.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/StartRec.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/SumaImpl.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/SystemError.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TcIndx.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TcKeyConf.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TcKeyRef.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TcKeyReq.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TcRollbackRep.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TrigAttrInfo.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TupCommit.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TupKey.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/TuxMaint.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/UtilDelete.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/UtilExecute.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/UtilLock.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/UtilPrepare.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/debugger/signaldata/UtilSequence.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/ConsoleLogHandler.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/FileLogHandler.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/LogHandler.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/LogHandlerList.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/LogHandlerList.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/Logger.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/SysLogHandler.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/listtest/LogHandlerListUnitTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/listtest/LogHandlerListUnitTest.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/loggertest/LoggerUnitTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/logger/loggertest/LoggerUnitTest.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/mgmcommon/printConfig/printConfig.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbCondition.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbConfig.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbDaemon.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbEnv.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbHost.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbMem.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbMutex.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbPortLibTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbSleep.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbTCP.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbThread.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/NdbTick.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/memtest.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/mmslist.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/mmstest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/munmaptest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbCondition.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbConditionOSE.h:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbEnv.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbHost.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbMem.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbMem_SoftOse.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbMutex.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbOut.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbSleep.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbTCP.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbThread.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/ose/NdbTick.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbCondition.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbDaemon.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbEnv.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbHost.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbMem.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbMutex.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbSleep.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbTCP.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbThread.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/old_dirs/win32/NdbTick.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbCondition.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbDaemon.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbEnv.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbHost.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbMem.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbMutex.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbSleep.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbTCP.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbThread.c:
        Changed header to GPL version 2 only
      ndb/src/common/portlib/win32/NdbTick.c:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/OSE_Receiver.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/OSE_Receiver.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/OSE_Signals.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/OSE_Transporter.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/OSE_Transporter.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/Packer.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/Packer.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SCI_Transporter.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SCI_Transporter.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SHM_Buffer.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SHM_Transporter.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SHM_Transporter.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SHM_Transporter.unix.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SHM_Transporter.win32.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SendBuffer.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/SendBuffer.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/TCP_Transporter.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/TCP_Transporter.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/Transporter.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/Transporter.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/TransporterInternalDefinitions.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/basictest/basicTransporterTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/buddy.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/buddy.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/failoverSCI/failoverSCI.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/perftest/perfTransporterTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/priotest/prioSHM/prioSHM.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/priotest/prioTCP/prioTCP.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/priotest/prioTransporterTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/transporter/priotest/prioTransporterTest.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/BaseString.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/File.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/InputStream.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/NdbErrHnd.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/NdbOut.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/NdbSqlUtil.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/OutputStream.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/Parser.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/Properties.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/SimpleProperties.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/SocketAuthenticator.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/SocketClient.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/SocketServer.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/basestring_vsnprintf.c:
        Changed header to GPL version 2 only
      ndb/src/common/util/filetest/FileUnitTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/filetest/FileUnitTest.hpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/md5_hash.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/ndb_init.c:
        Changed header to GPL version 2 only
      ndb/src/common/util/random.c:
        Changed header to GPL version 2 only
      ndb/src/common/util/socket_io.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/strdup.c:
        Changed header to GPL version 2 only
      ndb/src/common/util/testProperties/testProperties.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/testSimpleProperties/sp_test.cpp:
        Changed header to GPL version 2 only
      ndb/src/common/util/uucode.c:
        Changed header to GPL version 2 only
      ndb/src/common/util/version.c:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcc-win32/C++/CPC_GUI.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcc-win32/C++/CPC_GUI.h:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcc-win32/C++/NdbControls.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcc-win32/C++/StdAfx.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcc-win32/C++/StdAfx.h:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcc-win32/C++/TreeView.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcc-win32/C++/TreeView.h:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcc-win32/C++/resource.h:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/APIService.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/APIService.hpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/CPCD.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/CPCD.hpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/Monitor.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/Process.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/common.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/common.hpp:
        Changed header to GPL version 2 only
      ndb/src/cw/cpcd/main.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/test/socketclient/socketClientTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/util/ClientInterface.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/util/ClientInterface.hpp:
        Changed header to GPL version 2 only
      ndb/src/cw/util/SocketRegistry.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/util/SocketRegistry.hpp:
        Changed header to GPL version 2 only
      ndb/src/cw/util/SocketService.cpp:
        Changed header to GPL version 2 only
      ndb/src/cw/util/SocketService.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/SimBlockList.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/backup/BackupFormat.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/backup/FsBuffer.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/backup/read.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/mutexes.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/main.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdict/SchemaFile.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdih/Sysfile.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dblqh/redoLogReader/records.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dblqh/redoLogReader/redoLogFileReader.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/AttributeOffset.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupLCP.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupSystemRestart.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupTabDesMan.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtup/DbtupUndoLog.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/dbutil/DbUtil.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbcntr/NdbcntrSysTable.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/CircularIndex.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/CircularIndex.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/Filename.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/Filename.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/MemoryChannel.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/MemoryChannelOSE.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/MemoryChannelTest/MemoryChannelTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/OpenFiles.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/Pool.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/ndbfs/VoidFs.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/qmgr/timer.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/suma/Suma.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/suma/SumaInit.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/trix/Trix.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/blocks/trix/Trix.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/error/ErrorHandlingMacros.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/error/ErrorReporter.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/error/ErrorReporter.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/error/TimeModule.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/error/TimeModule.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/error/ndbd_exit_codes.c:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Array.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ArrayFifoList.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ArrayList.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ArrayPool.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/CArray.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Callback.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ClusterConfiguration.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ClusterConfiguration.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Configuration.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Configuration.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/DLFifoList.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/DLHashTable.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/DLHashTable2.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/DLList.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/DataBuffer.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Emulator.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Emulator.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/FastScheduler.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/FastScheduler.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/GlobalData.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/KeyDescriptor.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/KeyTable.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/KeyTable2.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/LongSignal.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/MetaData.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/MetaData.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Mutex.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Mutex.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/Prio.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/RequestTracker.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SLList.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SafeCounter.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SafeCounter.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SectionReader.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SectionReader.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SignalCounter.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SimBlockList.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SimplePropertiesSection.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SimulatedBlock.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SuperPool.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/SuperPool.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ThreadConfig.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ThreadConfig.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/TimeQueue.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/TimeQueue.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/TransporterCallback.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/VMSignal.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/VMSignal.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/WaitQueue.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/WatchDog.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/WatchDog.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/al_test/arrayListTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/al_test/arrayPoolTest.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/al_test/main.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ndbd_malloc.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/ndbd_malloc.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/pc.hpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/testCopy/rr.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/testCopy/testCopy.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/testDataBuffer/testDataBuffer.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/testLongSig/testLongSig.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/testSimplePropertiesSection/test.cpp:
        Changed header to GPL version 2 only
      ndb/src/kernel/vm/testSuperPool.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/LocalConfig.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/LocalConfig.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/mgmapi.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/mgmapi_configuration.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/mgmapi_internal.h:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/ndb_logevent.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/ndb_logevent.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/test/keso.c:
        Changed header to GPL version 2 only
      ndb/src/mgmapi/test/mgmSrvApi.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmclient/main.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmclient/ndb_mgmclient.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmclient/ndb_mgmclient.h:
        Changed header to GPL version 2 only
      ndb/src/mgmclient/test_cpcd/test_cpcd.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/Config.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/Config.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/ConfigInfo.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/InitConfigFileParser.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/Services.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/Services.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/SignalQueue.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/SignalQueue.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/convertStrToInt.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/convertStrToInt.hpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/main.cpp:
        Changed header to GPL version 2 only
      ndb/src/mgmsrv/mkconfig/mkconfig.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/API.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/ClusterMgr.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/ClusterMgr.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/DictCache.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/DictCache.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/Ndb.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbApiSignal.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbApiSignal.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbBlob.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbBlobImpl.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbDictionary.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbErrorOut.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbEventOperation.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbEventOperationImpl.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbImpl.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbLinHash.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbOperation.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbOperationInt.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbOperationScan.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbPool.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbPoolImpl.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbPoolImpl.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbRecAttr.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbReceiver.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbScanFilter.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbTransaction.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbTransactionScan.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbUtil.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbUtil.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/NdbWaiter.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/Ndberr.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/Ndbif.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/Ndbinit.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/Ndblist.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/ObjectMap.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/SignalSender.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/SignalSender.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/TransporterFacade.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/TransporterFacade.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/ndberror.c:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/signal-sender/SignalSender.cpp:
        Changed header to GPL version 2 only
      ndb/src/ndbapi/signal-sender/SignalSender.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/CpcClient.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/HugoAsynchTransactions.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/HugoCalculator.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/HugoOperations.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/HugoTransactions.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_DataSet.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_DataSetTransaction.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_Error.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_Output.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_ResultRow.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_ReturnCodes.h:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_Stats.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_Table.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_Tables.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NDBT_Test.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbBackup.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbConfig.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbGrep.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbRestarter.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbRestarts.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbSchemaCon.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbSchemaOp.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbTest.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/NdbTimer.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/TestNdbEventOperation.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/UtilTransactions.hpp:
        Changed header to GPL version 2 only
      ndb/test/include/getarg.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/InsertRecs.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ScanFilter.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ScanFunctions.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ScanInterpretTest.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/TraceNdbApi.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/VerifyNdbApi.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/acid.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/acid2.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/adoInsertRecs.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/asyncGenerator.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/benchronja.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bulk_copy.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/cdrserver.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/celloDb.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/create_all_tabs.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/create_tab.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/drop_all_tabs.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/flexAsynch.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/flexBench.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/flexHammer.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/flexScan.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/flexTT.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/flexTimedAsynch.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/flex_bench_mysql.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/index.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/index2.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/initronja.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/interpreterInTup.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/mainAsyncGenerator.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/msa.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_async1.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_async2.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_user_populate.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_user_transaction.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_user_transaction2.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_user_transaction3.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_user_transaction4.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_user_transaction5.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/ndb_user_transaction6.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/restarter.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/restarter2.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/restarts.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/size.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testBackup.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testBasic.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testBasicAsynch.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testBlobs.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testDataBuffers.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testDeadlock.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testDict.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testGrepVerify.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testIndex.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testInterpreter.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testMgm.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testNdbApi.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testNodeRestart.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testOIBasic.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testOperations.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testOrderedIndex.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testPartitioning.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testReadPerf.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testRestartGci.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testSRBank.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testScan.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testScanInterpreter.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testScanPerf.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testSystemRestart.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/Bank.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/Bank.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/BankLoad.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/bankCreator.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/bankMakeGL.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/bankSumAccounts.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/bankTimer.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/bankTransactionMaker.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/bankValidateAllGLs.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bank/testBank.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/asyncGenerator.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/dbGenerator.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/dbPopulate.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/dbPopulate.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/macros.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/mainAsyncGenerator.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/mainPopulate.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_async1.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_async2.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_error.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_schema.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_user_transaction.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_user_transaction2.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_user_transaction3.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_user_transaction4.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_user_transaction5.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/ndb_user_transaction6.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/testData.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/testDefinitions.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/userInterface.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/bench/userInterface.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/acid2/TraceNdbApi.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/acid2/VerifyNdbApi.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/async-src/include/dbGenerator.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/async-src/include/testData.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/async-src/include/userInterface.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/async-src/user/macros.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/async-src/user/ndb_error.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/include/ndb_schema.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/include/testDefinitions.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/generator/dbGenerator.c:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/generator/dbGenerator.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/generator/mainGenerator.c:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/include/testData.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/include/userInterface.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/populator/dbPopulate.c:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/populator/dbPopulate.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/populator/mainPopulate.c:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/localDbPrepare.c:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/macros.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/ndb_error.hpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/old/userHandle.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/old/userInterface.c:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/userHandle.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/userInterface.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/userTransaction.c:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testTimeout.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/testTransactions.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/test_event.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/test_event_merge.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/test_event_multi_table.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/userInterface.cpp:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/lmc-bench/src/user/old/userTransaction.c:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/vw_test/bcd.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/vw_test/utv.h:
        Changed header to GPL version 2 only
      ndb/test/ndbapi/old_dirs/vw_test/vcdrfunc.h:
        Changed header to GPL version 2 only
      ndb/test/newtonapi/basic_test/basic/basic.cpp:
        Changed header to GPL version 2 only
      ndb/test/newtonapi/basic_test/bulk_read/br_test.cpp:
        Changed header to GPL version 2 only
      ndb/test/newtonapi/basic_test/common.cpp:
        Changed header to GPL version 2 only
      ndb/test/newtonapi/basic_test/common.hpp:
        Changed header to GPL version 2 only
      ndb/test/newtonapi/basic_test/ptr_binding/ptr_binding_test.cpp:
        Changed header to GPL version 2 only
      ndb/test/newtonapi/basic_test/too_basic.cpp:
        Changed header to GPL version 2 only
      ndb/test/newtonapi/perf_test/perf.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/SQL99_test/SQL99_test.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/SQL99_test/SQL99_test.h:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/NDBT_ALLOCHANDLE.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/NDBT_ALLOCHANDLE_HDBC.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/NDBT_SQLConnect.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/NDBT_SQLPrepare.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLAllocEnvTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLAllocHandleTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLAllocHandleTest_bf.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLBindColTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLBindParameterTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLCancelTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLCloseCursorTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLColAttributeTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLColAttributeTest1.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLColAttributeTest2.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLColAttributeTest3.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLConnectTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLCopyDescTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLDescribeColTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLDisconnectTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLDriverConnectTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLEndTranTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLErrorTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLExecDirectTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLExecuteTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLFetchScrollTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLFetchTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLFreeHandleTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLFreeStmtTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetConnectAttrTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetCursorNameTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetDataTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetDescFieldTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetDescRecTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetDiagFieldTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetDiagRecSimpleTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetDiagRecTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetEnvAttrTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetFunctionsTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetInfoTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetStmtAttrTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLGetTypeInfoTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLMoreResultsTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLNumResultColsTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLParamDataTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLPrepareTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLPutDataTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLRowCountTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLSetConnectAttrTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLSetCursorNameTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLSetDescFieldTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLSetDescRecTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLSetEnvAttrTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLSetStmtAttrTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLTablesTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/SQLTransactTest.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/common.hpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/client/main.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/driver/testOdbcDriver.cpp:
        Changed header to GPL version 2 only
      ndb/test/odbc/test_compiler/test_compiler.cpp:
        Changed header to GPL version 2 only
      ndb/test/run-test/main.cpp:
        Changed header to GPL version 2 only
      ndb/test/run-test/run-test.hpp:
        Changed header to GPL version 2 only
      ndb/test/src/CpcClient.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/HugoAsynchTransactions.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/HugoCalculator.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/HugoOperations.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/HugoTransactions.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NDBT_Error.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NDBT_Output.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NDBT_ResultRow.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NDBT_ReturnCodes.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NDBT_Table.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NDBT_Tables.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NDBT_Test.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NdbBackup.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NdbConfig.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NdbGrep.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NdbRestarter.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NdbRestarts.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NdbSchemaCon.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/NdbSchemaOp.cpp:
        Changed header to GPL version 2 only
      ndb/test/src/UtilTransactions.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/copy_tab.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/cpcc.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/create_index.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoCalculator.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoFill.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoLoad.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoLockRecords.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoPkDelete.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoPkRead.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoPkReadRecord.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoPkUpdate.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoScanRead.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/hugoScanUpdate.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/old_dirs/waiter/waiter.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/restart.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/transproxy.cpp:
        Changed header to GPL version 2 only
      ndb/test/tools/verify_index.cpp:
        Changed header to GPL version 2 only
      ndb/tools/delete_all.cpp:
        Changed header to GPL version 2 only
      ndb/tools/desc.cpp:
        Changed header to GPL version 2 only
      ndb/tools/drop_index.cpp:
        Changed header to GPL version 2 only
      ndb/tools/drop_tab.cpp:
        Changed header to GPL version 2 only
      ndb/tools/listTables.cpp:
        Changed header to GPL version 2 only
      ndb/tools/ndb_config.cpp:
        Changed header to GPL version 2 only
      ndb/tools/ndb_test_platform.cpp:
        Changed header to GPL version 2 only
      ndb/tools/ndbsql.cpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/Restore.cpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/Restore.hpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/consumer.cpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/consumer.hpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/consumer_printer.cpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/consumer_printer.hpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/consumer_restore.cpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/consumer_restore.hpp:
        Changed header to GPL version 2 only
      ndb/tools/select_all.cpp:
        Changed header to GPL version 2 only
      ndb/tools/select_count.cpp:
        Changed header to GPL version 2 only
      ndb/tools/waiter.cpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/consumer_restorem.cpp:
        Changed header to GPL version 2 only
      ndb/tools/restore/restore_main.cpp:
        Changed header to GPL version 2 only
      netware/mysql_fix_privilege_tables.pl:
        Changed header to GPL version 2 only
      netware/mysql_secure_installation.pl:
        Changed header to GPL version 2 only
      os2/Makefile.am:
        Changed header to GPL version 2 only
      os2/include/Makefile.am:
        Changed header to GPL version 2 only
      os2/include/sys/Makefile.am:
        Changed header to GPL version 2 only
      pstack/Makefile.am:
        Changed header to GPL version 2 only
      regex/Makefile.am:
        Changed header to GPL version 2 only
      scripts/Makefile.am:
        Changed header to GPL version 2 only
      scripts/fill_help_tables.sh:
        Changed header to GPL version 2 only
      scripts/mysql_config.sh:
        Changed header to GPL version 2 only
      scripts/mysql_secure_installation.sh:
        Changed header to GPL version 2 only
      server-tools/instance-manager/Makefile.am:
        Changed header to GPL version 2 only
      server-tools/instance-manager/buffer.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/buffer.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/command.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/command.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/commands.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/commands.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/guardian.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/guardian.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/instance.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/instance.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/instance_map.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/instance_map.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/instance_options.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/instance_options.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/listener.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/listener.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/log.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/log.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/manager.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/manager.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/messages.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/messages.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/mysql_connection.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/mysql_connection.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/mysql_manager_error.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/mysqlmanager.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/options.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/options.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/parse.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/parse.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/parse_output.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/parse_output.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/priv.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/priv.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/protocol.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/protocol.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/thread_registry.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/thread_registry.h:
        Changed header to GPL version 2 only
      server-tools/instance-manager/user_map.cc:
        Changed header to GPL version 2 only
      server-tools/instance-manager/user_map.h:
        Changed header to GPL version 2 only
      sql/Makefile.am:
        Changed header to GPL version 2 only
      sql/client_settings.h:
        Changed header to GPL version 2 only
      sql/custom_conf.h:
        Changed header to GPL version 2 only
      sql/derror.cc:
        Changed header to GPL version 2 only
      sql/des_key_file.cc:
        Changed header to GPL version 2 only
      sql/discover.cc:
        Changed header to GPL version 2 only
      sql/field.cc:
        Changed header to GPL version 2 only
      sql/field.h:
        Changed header to GPL version 2 only
      sql/field_conv.cc:
        Changed header to GPL version 2 only
      sql/filesort.cc:
        Changed header to GPL version 2 only
      sql/frm_crypt.cc:
        Changed header to GPL version 2 only
      sql/gen_lex_hash.cc:
        Changed header to GPL version 2 only
      sql/gstream.cc:
        Changed header to GPL version 2 only
      sql/gstream.h:
        Changed header to GPL version 2 only
      sql/ha_archive.cc:
        Changed header to GPL version 2 only
      sql/ha_archive.h:
        Changed header to GPL version 2 only
      sql/ha_berkeley.cc:
        Changed header to GPL version 2 only
      sql/ha_berkeley.h:
        Changed header to GPL version 2 only
      sql/ha_blackhole.cc:
        Changed header to GPL version 2 only
      sql/ha_blackhole.h:
        Changed header to GPL version 2 only
      sql/ha_federated.cc:
        Changed header to GPL version 2 only
      sql/ha_federated.h:
        Changed header to GPL version 2 only
      sql/ha_heap.cc:
        Changed header to GPL version 2 only
      sql/ha_heap.h:
        Changed header to GPL version 2 only
      sql/ha_innodb.cc:
        Changed header to GPL version 2 only
      sql/ha_innodb.h:
        Changed header to GPL version 2 only
      sql/ha_myisam.cc:
        Changed header to GPL version 2 only
      sql/ha_myisam.h:
        Changed header to GPL version 2 only
      sql/ha_myisammrg.cc:
        Changed header to GPL version 2 only
      sql/ha_myisammrg.h:
        Changed header to GPL version 2 only
      sql/ha_ndbcluster.cc:
        Changed header to GPL version 2 only
      sql/ha_ndbcluster.h:
        Changed header to GPL version 2 only
      sql/handler.cc:
        Changed header to GPL version 2 only
      sql/handler.h:
        Changed header to GPL version 2 only
      sql/hash_filo.cc:
        Changed header to GPL version 2 only
      sql/hash_filo.h:
        Changed header to GPL version 2 only
      sql/hostname.cc:
        Changed header to GPL version 2 only
      sql/init.cc:
        Changed header to GPL version 2 only
      sql/item.cc:
        Changed header to GPL version 2 only
      sql/item.h:
        Changed header to GPL version 2 only
      sql/item_buff.cc:
        Changed header to GPL version 2 only
      sql/item_cmpfunc.cc:
        Changed header to GPL version 2 only
      sql/item_cmpfunc.h:
        Changed header to GPL version 2 only
      sql/item_create.cc:
        Changed header to GPL version 2 only
      sql/item_create.h:
        Changed header to GPL version 2 only
      sql/item_func.cc:
        Changed header to GPL version 2 only
      sql/item_func.h:
        Changed header to GPL version 2 only
      sql/item_geofunc.cc:
        Changed header to GPL version 2 only
      sql/item_geofunc.h:
        Changed header to GPL version 2 only
      sql/item_row.cc:
        Changed header to GPL version 2 only
      sql/item_row.h:
        Changed header to GPL version 2 only
      sql/item_strfunc.cc:
        Changed header to GPL version 2 only
      sql/item_strfunc.h:
        Changed header to GPL version 2 only
      sql/item_subselect.cc:
        Changed header to GPL version 2 only
      sql/item_subselect.h:
        Changed header to GPL version 2 only
      sql/item_sum.cc:
        Changed header to GPL version 2 only
      sql/item_sum.h:
        Changed header to GPL version 2 only
      sql/item_timefunc.cc:
        Changed header to GPL version 2 only
      sql/item_timefunc.h:
        Changed header to GPL version 2 only
      sql/item_uniq.cc:
        Changed header to GPL version 2 only
      sql/item_uniq.h:
        Changed header to GPL version 2 only
      sql/key.cc:
        Changed header to GPL version 2 only
      sql/lex.h:
        Changed header to GPL version 2 only
      sql/lex_symbol.h:
        Changed header to GPL version 2 only
      sql/lock.cc:
        Changed header to GPL version 2 only
      sql/log.cc:
        Changed header to GPL version 2 only
      sql/log_event.cc:
        Changed header to GPL version 2 only
      sql/log_event.h:
        Changed header to GPL version 2 only
      sql/matherr.c:
        Changed header to GPL version 2 only
      sql/mf_iocache.cc:
        Changed header to GPL version 2 only
      sql/my_decimal.cc:
        Changed header to GPL version 2 only
      sql/my_decimal.h:
        Changed header to GPL version 2 only
      sql/my_lock.c:
        Changed header to GPL version 2 only
      sql/mysql_priv.h:
        Changed header to GPL version 2 only
      sql/mysqld.cc:
        Changed header to GPL version 2 only
      sql/mysqld_suffix.h:
        Changed header to GPL version 2 only
      sql/net_serv.cc:
        Changed header to GPL version 2 only
      sql/opt_range.cc:
        Changed header to GPL version 2 only
      sql/opt_range.h:
        Changed header to GPL version 2 only
      sql/opt_sum.cc:
        Changed header to GPL version 2 only
      sql/parse_file.cc:
        Changed header to GPL version 2 only
      sql/parse_file.h:
        Changed header to GPL version 2 only
      sql/password.c:
        Changed header to GPL version 2 only
      sql/procedure.cc:
        Changed header to GPL version 2 only
      sql/procedure.h:
        Changed header to GPL version 2 only
      sql/protocol.cc:
        Changed header to GPL version 2 only
      sql/protocol.h:
        Changed header to GPL version 2 only
      sql/records.cc:
        Changed header to GPL version 2 only
      sql/repl_failsafe.cc:
        Changed header to GPL version 2 only
      sql/repl_failsafe.h:
        Changed header to GPL version 2 only
      sql/set_var.cc:
        Changed header to GPL version 2 only
      sql/set_var.h:
        Changed header to GPL version 2 only
      sql/slave.cc:
        Changed header to GPL version 2 only
      sql/slave.h:
        Changed header to GPL version 2 only
      sql/sp.cc:
        Changed header to GPL version 2 only
      sql/sp.h:
        Changed header to GPL version 2 only
      sql/sp_cache.cc:
        Changed header to GPL version 2 only
      sql/sp_cache.h:
        Changed header to GPL version 2 only
      sql/sp_head.cc:
        Changed header to GPL version 2 only
      sql/sp_head.h:
        Changed header to GPL version 2 only
      sql/sp_pcontext.cc:
        Changed header to GPL version 2 only
      sql/sp_pcontext.h:
        Changed header to GPL version 2 only
      sql/sp_rcontext.cc:
        Changed header to GPL version 2 only
      sql/sp_rcontext.h:
        Changed header to GPL version 2 only
      sql/spatial.cc:
        Changed header to GPL version 2 only
      sql/spatial.h:
        Changed header to GPL version 2 only
      sql/sql_acl.cc:
        Changed header to GPL version 2 only
      sql/sql_acl.h:
        Changed header to GPL version 2 only
      sql/sql_analyse.cc:
        Changed header to GPL version 2 only
      sql/sql_analyse.h:
        Changed header to GPL version 2 only
      sql/sql_array.h:
        Changed header to GPL version 2 only
      sql/sql_base.cc:
        Changed header to GPL version 2 only
      sql/sql_bitmap.h:
        Changed header to GPL version 2 only
      sql/sql_cache.cc:
        Changed header to GPL version 2 only
      sql/sql_cache.h:
        Changed header to GPL version 2 only
      sql/sql_class.cc:
        Changed header to GPL version 2 only
      sql/sql_class.h:
        Changed header to GPL version 2 only
      sql/sql_client.cc:
        Changed header to GPL version 2 only
      sql/sql_crypt.cc:
        Changed header to GPL version 2 only
      sql/sql_crypt.h:
        Changed header to GPL version 2 only
      sql/sql_cursor.cc:
        Changed header to GPL version 2 only
      sql/sql_cursor.h:
        Changed header to GPL version 2 only
      sql/sql_db.cc:
        Changed header to GPL version 2 only
      sql/sql_delete.cc:
        Changed header to GPL version 2 only
      sql/sql_derived.cc:
        Changed header to GPL version 2 only
      sql/sql_do.cc:
        Changed header to GPL version 2 only
      sql/sql_error.cc:
        Changed header to GPL version 2 only
      sql/sql_error.h:
        Changed header to GPL version 2 only
      sql/sql_handler.cc:
        Changed header to GPL version 2 only
      sql/sql_help.cc:
        Changed header to GPL version 2 only
      sql/sql_insert.cc:
        Changed header to GPL version 2 only
      sql/sql_lex.cc:
        Changed header to GPL version 2 only
      sql/sql_lex.h:
        Changed header to GPL version 2 only
      sql/sql_list.cc:
        Changed header to GPL version 2 only
      sql/sql_list.h:
        Changed header to GPL version 2 only
      sql/sql_load.cc:
        Changed header to GPL version 2 only
      sql/sql_locale.cc:
        Changed header to GPL version 2 only
      sql/sql_manager.cc:
        Changed header to GPL version 2 only
      sql/sql_manager.h:
        Changed header to GPL version 2 only
      sql/sql_map.cc:
        Changed header to GPL version 2 only
      sql/sql_map.h:
        Changed header to GPL version 2 only
      sql/sql_olap.cc:
        Changed header to GPL version 2 only
      sql/sql_parse.cc:
        Changed header to GPL version 2 only
      sql/sql_prepare.cc:
        Changed header to GPL version 2 only
      sql/sql_rename.cc:
        Changed header to GPL version 2 only
      sql/sql_repl.cc:
        Changed header to GPL version 2 only
      sql/sql_repl.h:
        Changed header to GPL version 2 only
      sql/sql_select.cc:
        Changed header to GPL version 2 only
      sql/sql_select.h:
        Changed header to GPL version 2 only
      sql/sql_show.cc:
        Changed header to GPL version 2 only
      sql/sql_sort.h:
        Changed header to GPL version 2 only
      sql/sql_state.c:
        Changed header to GPL version 2 only
      sql/sql_string.cc:
        Changed header to GPL version 2 only
      sql/sql_string.h:
        Changed header to GPL version 2 only
      sql/sql_table.cc:
        Changed header to GPL version 2 only
      sql/sql_test.cc:
        Changed header to GPL version 2 only
      sql/sql_trigger.cc:
        Changed header to GPL version 2 only
      sql/sql_trigger.h:
        Changed header to GPL version 2 only
      sql/sql_udf.cc:
        Changed header to GPL version 2 only
      sql/sql_udf.h:
        Changed header to GPL version 2 only
      sql/sql_union.cc:
        Changed header to GPL version 2 only
      sql/sql_update.cc:
        Changed header to GPL version 2 only
      sql-bench/Makefile.am:
        Changed header to GPL version 2 only
      sql-bench/as3ap.sh:
        Changed header to GPL version 2 only
      sql-bench/bench-count-distinct.sh:
        Changed header to GPL version 2 only
      sql-bench/bench-init.pl.sh:
        Changed header to GPL version 2 only
      sql-bench/compare-results.sh:
        Changed header to GPL version 2 only
      sql-bench/copy-db.sh:
        Changed header to GPL version 2 only
      sql-bench/crash-me.sh:
        Changed header to GPL version 2 only
      sql-bench/print-limit-table:
        Changed header to GPL version 2 only
      sql-bench/run-all-tests.sh:
        Changed header to GPL version 2 only
      sql/examples/ha_example.cc:
        Changed header to GPL version 2 only
      sql/examples/ha_example.h:
        Changed header to GPL version 2 only
      sql/examples/ha_tina.cc:
        Changed header to GPL version 2 only
      sql/examples/ha_tina.h:
        Changed header to GPL version 2 only
      sql/share/Makefile.am:
        Changed header to GPL version 2 only
      sql/share/charsets/Index.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/armscii8.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/ascii.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/cp1250.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/cp1251.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/cp1256.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/cp1257.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/cp850.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/cp852.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/cp866.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/dec8.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/geostd8.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/greek.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/hebrew.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/hp8.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/keybcs2.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/koi8r.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/koi8u.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/latin1.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/latin2.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/latin5.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/latin7.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/macce.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/macroman.xml:
        Changed header to GPL version 2 only
      sql/share/charsets/swe7.xml:
        Changed header to GPL version 2 only
      sql/sql_view.cc:
        Changed header to GPL version 2 only
      sql/sql_view.h:
        Changed header to GPL version 2 only
      sql/sql_yacc.yy:
        Changed header to GPL version 2 only
      sql/stacktrace.c:
        Changed header to GPL version 2 only
      sql/stacktrace.h:
        Changed header to GPL version 2 only
      sql/strfunc.cc:
        Changed header to GPL version 2 only
      sql/structs.h:
        Changed header to GPL version 2 only
      sql/table.cc:
        Changed header to GPL version 2 only
      sql/table.h:
        Changed header to GPL version 2 only
      sql/thr_malloc.cc:
        Changed header to GPL version 2 only
      sql/time.cc:
        Changed header to GPL version 2 only
      sql/tzfile.h:
        Changed header to GPL version 2 only
      sql/tztime.cc:
        Changed header to GPL version 2 only
      sql/tztime.h:
        Changed header to GPL version 2 only
      sql/udf_example.c:
        Changed header to GPL version 2 only
      sql/uniques.cc:
        Changed header to GPL version 2 only
      sql/unireg.cc:
        Changed header to GPL version 2 only
      sql/unireg.h:
        Changed header to GPL version 2 only
      sql-bench/server-cfg.sh:
        Changed header to GPL version 2 only
      sql-bench/test-ATIS.sh:
        Changed header to GPL version 2 only
      sql-bench/test-alter-table.sh:
        Changed header to GPL version 2 only
      sql-bench/test-big-tables.sh:
        Changed header to GPL version 2 only
      sql-bench/test-connect.sh:
        Changed header to GPL version 2 only
      sql-bench/test-create.sh:
        Changed header to GPL version 2 only
      sql-bench/test-insert.sh:
        Changed header to GPL version 2 only
      sql-bench/test-select.sh:
        Changed header to GPL version 2 only
      sql-bench/test-transactions.sh:
        Changed header to GPL version 2 only
      sql-bench/test-wisconsin.sh:
        Changed header to GPL version 2 only
      sql-common/Makefile.am:
        Changed header to GPL version 2 only
      sql-common/client.c:
        Changed header to GPL version 2 only
      sql-common/my_time.c:
        Changed header to GPL version 2 only
      sql-common/my_user.c:
        Changed header to GPL version 2 only
      sql-common/pack.c:
        Changed header to GPL version 2 only
      strings/Makefile.am:
        Changed header to GPL version 2 only
      strings/bchange.c:
        Changed header to GPL version 2 only
      strings/bcmp.c:
        Changed header to GPL version 2 only
      strings/bcopy-duff.c:
        Changed header to GPL version 2 only
      strings/bfill.c:
        Changed header to GPL version 2 only
      strings/bmove.c:
        Changed header to GPL version 2 only
      strings/bmove512.c:
        Changed header to GPL version 2 only
      strings/bmove_upp-sparc.s:
        Changed header to GPL version 2 only
      strings/bmove_upp.c:
        Changed header to GPL version 2 only
      strings/bzero.c:
        Changed header to GPL version 2 only
      strings/conf_to_src.c:
        Changed header to GPL version 2 only
      strings/ctype-big5.c:
        Changed header to GPL version 2 only
      strings/ctype-bin.c:
        Changed header to GPL version 2 only
      strings/ctype-cp932.c:
        Changed header to GPL version 2 only
      strings/ctype-czech.c:
        Changed header to GPL version 2 only
      strings/ctype-euc_kr.c:
        Changed header to GPL version 2 only
      strings/ctype-eucjpms.c:
        Changed header to GPL version 2 only
      strings/ctype-gb2312.c:
        Changed header to GPL version 2 only
      strings/ctype-gbk.c:
        Changed header to GPL version 2 only
      strings/ctype-latin1.c:
        Changed header to GPL version 2 only
      strings/ctype-mb.c:
        Changed header to GPL version 2 only
      strings/ctype-simple.c:
        Changed header to GPL version 2 only
      strings/ctype-sjis.c:
        Changed header to GPL version 2 only
      strings/ctype-tis620.c:
        Changed header to GPL version 2 only
      strings/ctype-uca.c:
        Changed header to GPL version 2 only
      strings/ctype-ucs2.c:
        Changed header to GPL version 2 only
      strings/ctype-ujis.c:
        Changed header to GPL version 2 only
      strings/ctype-utf8.c:
        Changed header to GPL version 2 only
      strings/ctype-win1250ch.c:
        Changed header to GPL version 2 only
      strings/ctype.c:
        Changed header to GPL version 2 only
      strings/decimal.c:
        Changed header to GPL version 2 only
      strings/do_ctype.c:
        Changed header to GPL version 2 only
      strings/int2str.c:
        Changed header to GPL version 2 only
      strings/is_prefix.c:
        Changed header to GPL version 2 only
      strings/llstr.c:
        Changed header to GPL version 2 only
      strings/longlong2str-x86.s:
        Changed header to GPL version 2 only
      strings/longlong2str.c:
        Changed header to GPL version 2 only
      strings/longlong2str_asm.c:
        Changed header to GPL version 2 only
      strings/macros.asm:
        Changed header to GPL version 2 only
      strings/memcmp.c:
        Changed header to GPL version 2 only
      strings/memcpy.c:
        Changed header to GPL version 2 only
      strings/memset.c:
        Changed header to GPL version 2 only
      strings/my_strtoll10-x86.s:
        Changed header to GPL version 2 only
      strings/my_strtoll10.c:
        Changed header to GPL version 2 only
      strings/my_vsnprintf.c:
        Changed header to GPL version 2 only
      strings/ptr_cmp.asm:
        Changed header to GPL version 2 only
      strings/r_strinstr.c:
        Changed header to GPL version 2 only
      strings/str2int.c:
        Changed header to GPL version 2 only
      strings/str_alloc.c:
        Changed header to GPL version 2 only
      strings/str_test.c:
        Changed header to GPL version 2 only
      strings/strappend-sparc.s:
        Changed header to GPL version 2 only
      strings/strappend.c:
        Changed header to GPL version 2 only
      strings/strcat.c:
        Changed header to GPL version 2 only
      strings/strcend.c:
        Changed header to GPL version 2 only
      strings/strchr.c:
        Changed header to GPL version 2 only
      strings/strcmp.c:
        Changed header to GPL version 2 only
      strings/strcont.c:
        Changed header to GPL version 2 only
      strings/strend-sparc.s:
        Changed header to GPL version 2 only
      strings/strend.c:
        Changed header to GPL version 2 only
      strings/strfill.c:
        Changed header to GPL version 2 only
      strings/strings-not-used.h:
        Changed header to GPL version 2 only
      strings/strings-x86.s:
        Changed header to GPL version 2 only
      strings/strings.asm:
        Changed header to GPL version 2 only
      strings/strinstr-sparc.s:
        Changed header to GPL version 2 only
      strings/strinstr.c:
        Changed header to GPL version 2 only
      strings/strlen.c:
        Changed header to GPL version 2 only
      strings/strmake-sparc.s:
        Changed header to GPL version 2 only
      strings/strmake.c:
        Changed header to GPL version 2 only
      strings/strmov-sparc.s:
        Changed header to GPL version 2 only
      strings/strmov.c:
        Changed header to GPL version 2 only
      strings/strnlen.c:
        Changed header to GPL version 2 only
      strings/strnmov-sparc.s:
        Changed header to GPL version 2 only
      strings/strnmov.c:
        Changed header to GPL version 2 only
      strings/strrchr.c:
        Changed header to GPL version 2 only
      strings/strstr-sparc.s:
        Changed header to GPL version 2 only
      strings/strstr.c:
        Changed header to GPL version 2 only
      strings/strto.c:
        Changed header to GPL version 2 only
      strings/strtol.c:
        Changed header to GPL version 2 only
      strings/strtoll.c:
        Changed header to GPL version 2 only
      strings/strtoul.c:
        Changed header to GPL version 2 only
      strings/strtoull.c:
        Changed header to GPL version 2 only
      strings/strxmov-sparc.s:
        Changed header to GPL version 2 only
      strings/strxmov.asm:
        Changed header to GPL version 2 only
      strings/strxmov.c:
        Changed header to GPL version 2 only
      strings/strxnmov.c:
        Changed header to GPL version 2 only
      strings/t_ctype.h:
        Changed header to GPL version 2 only
      strings/udiv.c:
        Changed header to GPL version 2 only
      strings/xml.c:
        Changed header to GPL version 2 only
      support-files/MacOSX/Makefile.am:
        Changed header to GPL version 2 only
      support-files/Makefile.am:
        Changed header to GPL version 2 only
      support-files/MySQL-shared-compat.spec.sh:
        Changed header to GPL version 2 only
      tests/Makefile.am:
        Changed header to GPL version 2 only
      tests/connect_test.c:
        Changed header to GPL version 2 only
      tests/deadlock_test.c:
        Changed header to GPL version 2 only
      tests/insert_test.c:
        Changed header to GPL version 2 only
      tests/list_test.c:
        Changed header to GPL version 2 only
      tests/mysql_client_test.c:
        Changed header to GPL version 2 only
      tests/select_test.c:
        Changed header to GPL version 2 only
      tests/showdb_test.c:
        Changed header to GPL version 2 only
      tests/ssl_test.c:
        Changed header to GPL version 2 only
      tests/thread_test.c:
        Changed header to GPL version 2 only
      tools/Makefile.am:
        Changed header to GPL version 2 only
      tools/mysqlmanager.c:
        Changed header to GPL version 2 only
      vio/Makefile.am:
        Changed header to GPL version 2 only
      vio/test-ssl.c:
        Changed header to GPL version 2 only
      vio/test-sslclient.c:
        Changed header to GPL version 2 only
      vio/test-sslserver.c:
        Changed header to GPL version 2 only
      vio/vio.c:
        Changed header to GPL version 2 only
      vio/vio_priv.h:
        Changed header to GPL version 2 only
      vio/viosocket.c:
        Changed header to GPL version 2 only
      vio/viossl.c:
        Changed header to GPL version 2 only
      vio/viosslfactories.c:
        Changed header to GPL version 2 only
      vio/viotest-ssl.c:
        Changed header to GPL version 2 only
      win/Makefile.am:
        Changed header to GPL version 2 only
      zlib/Makefile.am:
        Changed header to GPL version 2 only
      6b0853a3
  33. 14 Dec, 2006 1 commit
    • unknown's avatar
      Fixed compiler warnings detected by option -Wshadow and -Wunused: · f00257dd
      unknown authored
      - Removed not used variables and functions
      - Added #ifdef around code that is not used
      - Renamed variables and functions to avoid conflicts
      - Removed some not used arguments
      
      Fixed some class/struct warnings in ndb
      Added define IS_LONGDATA() to simplify code in libmysql.c
      
      I did run gcov on the changes and added 'purecov' comments on almost all lines that was not just variable name changes
      
      
      BUILD/SETUP.sh:
        Added printing of unused functions and variables.
        Made it easy to test compiling with -Wshadow
      BUILD/compile-pentium-gcov:
        Added warnings
        Mark binary with -gcov
      client/mysql.cc:
        Fixed warnings found with gcc -Wshadow
      client/mysql_upgrade.c:
        Fixed warnings found with gcc -Wshadow
      client/mysqlbinlog.cc:
        Fixed warnings found with gcc -Wshadow
      client/mysqldump.c:
        Fixed warnings found with gcc -Wshadow
      client/mysqltest.c:
        Fixed warnings found with gcc -Wshadow
      client/sql_string.cc:
        Fixed warnings found with gcc -Wshadow
        Merged with sql/sql_string.cc
      client/sql_string.h:
        Fixed warnings found with gcc -Wshadow
        Merged with sql/sql_string.h
      cmd-line-utils/readline/display.c:
        Fixed compiler warning
      cmd-line-utils/readline/histexpand.c:
        Fixed warnings found with gcc -Wshadow
      cmd-line-utils/readline/input.c:
        Fixed warnings found with gcc -Wshadow
      cmd-line-utils/readline/text.c:
        Fixed warnings found with gcc -Wshadow
      cmd-line-utils/readline/vi_mode.c:
        Fixed warnings found with gcc -Wshadow
      dbug/dbug_analyze.c:
        Fixed warnings found with gcc -Wshadow
      extra/my_print_defaults.c:
        Prefixed defaults_extra_file and defaults_group_suffix with 'my' to avoid conflicts with similar named local variables
      extra/yassl/include/buffer.hpp:
        Fixed compiler warnings
      extra/yassl/include/crypto_wrapper.hpp:
        Fixed compiler warnings
      extra/yassl/include/yassl_imp.hpp:
        Fixed compiler warnings
      extra/yassl/include/yassl_int.hpp:
        Fixed compiler warnings
      extra/yassl/src/crypto_wrapper.cpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/benchmark/benchmark.cpp:
        Fixed warnings found with gcc -Wshadow
      extra/yassl/taocrypt/include/algebra.hpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/include/des.hpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/include/hash.hpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/include/hmac.hpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/include/modarith.hpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/include/modes.hpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/include/rsa.hpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/mySTL/list.hpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/src/aes.cpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/src/algebra.cpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/src/asn.cpp:
        Fixed compiler warnings
      extra/yassl/taocrypt/test/test.cpp:
        Fixed compiler warnings
      extra/yassl/testsuite/testsuite.cpp:
        Fixed compiler warnings
      include/m_ctype.h:
        Fixed warnings found with gcc -Wshadow
      include/my_pthread.h:
        Fixed warnings found with gcc -Wshadow
      include/my_sys.h:
        Fixed warnings found with gcc -Wshadow
      include/my_time.h:
        Fixed warnings found with gcc -Wshadow
      include/mysql.h:
        Fixed warnings found with gcc -Wshadow
        Added define IS_LONGDATA() to simplify code in libmysql.c
      libmysql/libmysql.c:
        Fixed warnings found with gcc -Wshadow
        (Mostly replaced bind -> my_bind and time -> my_time)
      libmysqld/lib_sql.cc:
        Removed not used variables and labels
      myisam/ft_boolean_search.c:
        Fixed warnings found with gcc -Wshadow
      myisam/mi_open.c:
        Fixed warnings found with gcc -Wshadow
      myisam/mi_search.c:
        Fixed warnings found with gcc -Wshadow
      myisam/mi_unique.c:
        Fixed compiler warning
      myisam/myisampack.c:
        Fixed warnings found with gcc -Wshadow
      myisam/rt_index.c:
        Remove not used variables
      myisam/sort.c:
        Fixed warnings found with gcc -Wshadow
      mysql-test/r/mysqlcheck.result:
        Remove databases and tables possible left by previous test
      mysql-test/r/mysqltest.result:
        New test results
      mysql-test/t/mysql.test:
        Coverage tests
      mysql-test/t/mysqlbinlog.test:
        Coverage tests
      mysql-test/t/mysqlcheck.test:
        Remove databases and tables possible left by previous test
      mysql-test/t/mysqltest.test:
        Coverage tests
      mysys/default.c:
        Prefixed defaults_file, defaults_group_suffix and defaults_extra_file with 'my' to avoid conflicts with local variables in some functions
      mysys/mf_iocache2.c:
        Fixed warnings found with gcc -Wshadow
      mysys/mf_keycache.c:
        Fixed warnings found with gcc -Wshadow
      mysys/my_bitmap.c:
        Fixed warnings found with gcc -Wshadow
      mysys/sha1.c:
        Fixed warnings found with gcc -Wshadow
      ndb/include/kernel/signaldata/ArbitSignalData.hpp:
        Fixed compiler warning
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Fixed compiler warnings
      ndb/include/ndbapi/NdbReceiver.hpp:
        Fixed warnings found with gcc -Wshadow
      ndb/include/transporter/TransporterDefinitions.hpp:
        Fixed compiler warning
      ndb/include/util/InputStream.hpp:
        Fixed compiler warning
      ndb/include/util/OutputStream.hpp:
        Fixed compiler warning
      ndb/include/util/SimpleProperties.hpp:
        Fixed compiler warning
      ndb/include/util/SocketAuthenticator.hpp:
        Fixed compiler warning
      ndb/include/util/SocketServer.hpp:
        Fixed compiler warning
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/common/portlib/NdbTick.c:
        Fixed warnings found with gcc -Wshadow
      ndb/src/common/transporter/SHM_Transporter.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/common/transporter/TCP_Transporter.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/common/transporter/TCP_Transporter.hpp:
        Fixed compiler warning
      ndb/src/common/transporter/Transporter.cpp:
        Removed not used variable
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Removed not used variable
      ndb/src/common/util/Bitmask.cpp:
        Moved function to avoid warnings of not used function
      ndb/src/common/util/ConfigValues.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/common/util/File.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/common/util/Properties.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/common/util/SocketClient.cpp:
        Fixed wrong return value
      ndb/src/common/util/random.c:
        Fixed warnings found with gcc -Wshadow
      ndb/src/common/util/socket_io.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/cw/cpcd/APIService.cpp:
        Removed not used variable
      ndb/src/cw/cpcd/main.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        Removed not used variable
      ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/ndbfs/AsyncFile.hpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Fixed compiler warnings
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Removed not used variables
      ndb/src/kernel/blocks/suma/Suma.hpp:
        Fixed compiler warnings
      ndb/src/kernel/vm/MetaData.hpp:
        Fixed compiler warnings
      ndb/src/mgmapi/LocalConfig.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/mgmapi/mgmapi.cpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Removed not used variables
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Fixed warnings found with gcc -Wshadow
        Removed not used variables
      ndb/src/mgmsrv/ConfigInfo.hpp:
        Fixed warnings found with gcc -Wshadow
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Prefixed defaults_file, defaults_group_suffix and defaults_extra_file with 'my' to avoid conflicts with local variables in some functions
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Removed not used variables and functions
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Fixed compiler warnings
      ndb/src/mgmsrv/Services.cpp:
        Removed not used variables and functions
      ndb/src/mgmsrv/main.cpp:
        Removed not used variable
      ndb/src/ndbapi/ClusterMgr.hpp:
        Fixed compiler warnings
      ndb/src/ndbapi/Ndb.cpp:
        Removed not used variables
      ndb/src/ndbapi/NdbBlob.cpp:
        Removed not used variables
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Removed not used variables
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Removed not used variables
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Removed not used variables
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Removed not used variables
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Removed not used variables
      ndb/src/ndbapi/NdbScanFilter.cpp:
        Fixed compiler warning
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Removed not used variables
      ndb/src/ndbapi/SignalSender.cpp:
        Removed not used variables
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Removed not used variable
      ndb/tools/delete_all.cpp:
        Removed not used variable
      ndb/tools/desc.cpp:
        Removed not used variable
      ndb/tools/drop_index.cpp:
        Removed not used variable
      ndb/tools/drop_tab.cpp:
        Removed not used variable
      ndb/tools/listTables.cpp:
        Removed not used variable
      ndb/tools/ndb_config.cpp:
        Fixed warnings found with gcc -Wshadow
        Added missing puts(desc)
      ndb/tools/restore/Restore.hpp:
        Changed delimiter to define instead of static variable, as the static variable caused a LOT of compiler warnings
        Fixed compiler warning
      ndb/tools/restore/consumer.hpp:
        Fixed compiler warning
      ndb/tools/restore/restore_main.cpp:
        Fixed compiler warnings
      ndb/tools/select_all.cpp:
        Removed not used variables
      ndb/tools/select_count.cpp:
        Removed not used variable
      server-tools/instance-manager/commands.h:
        Fixed compiler warnings
      server-tools/instance-manager/guardian.cc:
        Fixed compiler warnings
      server-tools/instance-manager/instance_options.cc:
        Removed not used variables
      server-tools/instance-manager/mysql_connection.cc:
        Fixed compiler warnings
      server-tools/instance-manager/options.cc:
        Fixed compiler warnings
      server-tools/instance-manager/options.h:
        Fixed compiler warnings
      server-tools/instance-manager/parse.cc:
        Removed not used variable
      server-tools/instance-manager/user_map.cc:
        Fixed compiler warnings
      server-tools/instance-manager/user_map.h:
        Fixed compiler warnings
      sql/field.cc:
        Fixed compiler warnings
      sql/field.h:
        Fixed compiler warnings
      sql/filesort.cc:
        Fixed compiler warnings
      sql/ha_archive.cc:
        Removed table and share arguments from get_share() / free_share() to get rid of compiler warnings
      sql/ha_archive.h:
        Removed table and share arguments from get_share() / free_share() to get rid of compiler warnings
      sql/ha_federated.cc:
        Fixed compiler warnings
      sql/ha_heap.cc:
        Fixed compiler warnings
      sql/ha_myisam.cc:
        Fixed compiler warnings
      sql/ha_myisammrg.cc:
        Fixed compiler warnings
      sql/ha_ndbcluster.cc:
        Fixed compiler warnings
      sql/handler.cc:
        Fixed compiler warnings
      sql/item.cc:
        Fixed compiler warnings
      sql/item.h:
        Fixed compiler warnings
        new_item() -> clone_item(), to avoid a lot of warnings with variable 'new_item'
        el() -> element_index()
      sql/item_cmpfunc.cc:
        Fixed compiler warnings
      sql/item_cmpfunc.h:
        Fixed compiler warnings
      sql/item_func.cc:
        Fixed compiler warnings
      sql/item_geofunc.cc:
        Fixed compiler warnings
      sql/item_row.h:
        Fixed compiler warnings
      sql/item_strfunc.cc:
        Fixed compiler warnings
      sql/item_subselect.cc:
        Fixed compiler warnings
      sql/item_subselect.h:
        Fixed compiler warnings
      sql/item_sum.cc:
        Fixed compiler warnings
      sql/item_timefunc.cc:
        Fixed compiler warnings
      sql/log.cc:
        Fixed compiler warnings
        More comments
        Added #ifdef HAVE_REPLICATION
      sql/log_event.cc:
        Fixed compiler warnings
      sql/log_event.h:
        Fixed compiler warnings
      sql/mysql_priv.h:
        query_id -> global_query_id, to avoid a lot of clashes with function and class variables
        start_time -> server_start_time
      sql/mysqld.cc:
        Fixed compiler warnings:
        - Removed not used variables
        - Added #ifndef EMBEDDED_LIBRARY
        - Fixed shadow warnings
      sql/net_serv.cc:
        Fixed compiler warnings
      sql/opt_range.cc:
        range -> last_range to avoid shadow warnings
        Removed not used function print_rowid()
      sql/opt_range.h:
        range -> last_range to avoid shadow warnings
      sql/password.c:
        Fixed compiler warnings
      sql/protocol.cc:
        Fixed compiler warnings
      sql/repl_failsafe.cc:
        Fixed compiler warnings
      sql/set_var.cc:
        Fixed compiler warnings
      sql/set_var.h:
        type() -> show_type()
        Fixed compiler warnings
      sql/slave.cc:
        Fixed compiler warnings
      sql/sp_head.cc:
        Fixed compiler warnings
      sql/sp_head.h:
        Fixed compiler warnings
      sql/spatial.cc:
        Fixed compiler warnings
      sql/spatial.h:
        length() -> geom_length() to avoid compiler warnings
        wkb_end -> wkb_last to avoid compiler warnings with local variables named 'wkb_end'
      sql/sql_cache.h:
        Fixed compiler warnings
      sql/sql_class.cc:
        Fixed compiler warnings
      sql/sql_class.h:
        log -> log_xid() to avoid compiler warnings
        Fixed shadow compiler warnings
      sql/sql_derived.cc:
        Removed not used variable
      sql/sql_insert.cc:
        Fixed compiler warnings
      sql/sql_lex.cc:
        Fixed compiler warnings
      sql/sql_lex.h:
        res -> saved_error to make the meaning of the variable clear and avoid shadow warnings
      sql/sql_load.cc:
        Fixed compiler warnings
      sql/sql_parse.cc:
        Fixed compiler warnings
      sql/sql_prepare.cc:
        Fixed compiler warnings
      sql/sql_select.cc:
        Fixed compiler warnings
      sql/sql_show.cc:
        Fixed compiler warnings
      sql/sql_string.cc:
        Fixed compiler warnings
      sql/sql_string.h:
        Fixed compiler warnings
      sql/sql_table.cc:
        Fixed compiler warnings
      sql/sql_trigger.cc:
        Fixed compiler warnings
      sql/sql_trigger.h:
        table -> trigger_table to avoid warnings from local variables
      sql/sql_union.cc:
        Fixed compiler warnings
        (mainly res -> saved_error)
      sql-common/client.c:
        Removed not used variable
      sql-common/my_time.c:
        Removed not used variable
        time -> my_time
      sql/sql_update.cc:
        Removed not used variable
      sql/sql_view.cc:
        Removed not used variable
      sql/sql_yacc.yy:
        Removed not used variable
      sql/table.cc:
        Removed not used variable
      sql/tztime.cc:
        Removed not used variable
      sql/unireg.cc:
        Removed not used variable
      strings/ctype-bin.c:
        mblen -> mb_len to avoid compiler warnings with local variable mblen
      strings/ctype-cp932.c:
        Fixed compiler warnings
      strings/ctype-eucjpms.c:
        Fixed compiler warnings
      strings/ctype-mb.c:
        mblen -> mb_len to avoid compiler warnings with local variable mblen
      strings/ctype-simple.c:
        mblen -> mb_len to avoid compiler warnings with local variable mblen
        exp -> exponent
      strings/ctype-sjis.c:
        Fixed compiler warnings
      strings/ctype-uca.c:
        mblen -> mb_len to avoid compiler warnings with local variable mblen
      strings/ctype-ujis.c:
        Fixed compiler warnings
      strings/ctype-utf8.c:
        Fixed compiler warnings
      strings/decimal.c:
        Fixed compiler warnings
      strings/my_vsnprintf.c:
        Added comment
      strings/strtod.c:
        Fixed compiler warnings
      tests/mysql_client_test.c:
        Fixed compiler warnings
        (Biggest part of patch is to not get a conflict with global function 'bind')
      f00257dd
  34. 07 Dec, 2006 1 commit
    • unknown's avatar
      A fix and test cases for · e47ded81
      unknown authored
      Bug#4968 "Stored procedure crash if cursor opened on altered table"
      Bug#19733 "Repeated alter, or repeated create/drop, fails"
      Bug#19182 "CREATE TABLE bar (m INT) SELECT n FROM foo; doesn't work from 
      stored procedure."
      Bug#6895 "Prepared Statements: ALTER TABLE DROP COLUMN does nothing"
      Bug#22060 "ALTER TABLE x AUTO_INCREMENT=y in SP crashes server"
      
      Test cases for bugs 4968, 19733, 6895 will be added in 5.0.
      
      Re-execution of CREATE DATABASE, CREATE TABLE and ALTER TABLE 
      statements in stored routines or as prepared statements caused
      incorrect results (and crashes in versions prior to 5.0.25).
      In 5.1 the problem occured only for CREATE DATABASE, CREATE TABLE
      SELECT and CREATE TABLE with INDEX/DATA DIRECTOY options).
      
      The problem of bugs 4968, 19733, 19282 and 6895 was that functions
      mysql_prepare_table, mysql_create_table and mysql_alter_table were not
      re-execution friendly: during their operation they used to modify contents
      of LEX (members create_info, alter_info, key_list, create_list),
      thus making the LEX unusable for the next execution.
      In particular, these functions removed processed columns and keys from
      create_list, key_list and drop_list. Search the code in sql_table.cc 
      for drop_it.remove() and similar patterns to find evidence.
      
      The fix is to supply to these functions a usable copy of each of the
      above structures at every re-execution of an SQL statement. 
      
      To simplify memory management, LEX::key_list and LEX::create_list
      were added to LEX::alter_info, a fresh copy of which is created for
      every execution.
      
      The problem of crashing bug 22060 stemmed from the fact that the above 
      metnioned functions were not only modifying HA_CREATE_INFO structure in 
      LEX, but also were changing it to point to areas in volatile memory of 
      the execution memory root.
       
      The patch solves this problem by creating and using an on-stack
      copy of HA_CREATE_INFO (note that code in 5.1 already creates and
      uses a copy of this structure in mysql_create_table()/alter_table(),
      but this approach didn't work well for CREATE TABLE SELECT statement).
      
      
      mysql-test/r/ps.result:
        Update test results (Bug#19182, Bug#22060)
      mysql-test/t/ps.test:
        Add a test case for Bug#19182, Bug#22060 (4.1-only parts)
      sql/mysql_priv.h:
        LEX::key_list and LEX::create_list were moved to LEX::alter_info.
        Update declarations to use LEX::alter_info instead of these two
        members.
      sql/sql_class.h:
        Replace pair<columns, keys> with an instance of Alter_info in
        select_create constructor. We create a new copy of Alter_info
        each time we re-execute SELECT .. CREATE prepared statement.
      sql/sql_insert.cc:
        Adjust to a new signature of create_table_from_items.
      sql/sql_lex.cc:
        Implement Alter_info::Alter_info that would make a "deep" copy
        of all definition lists (keys, columns).
      sql/sql_lex.h:
        Move key_list and create_list to class Alter_info. Implement
        Alter_info::Alter_info that can be used with PS and SP.
      sql/sql_list.h:
        Implement a copy constructor of class List that makes a deep copy
        of all list nodes.
      sql/sql_parse.cc:
        Adjust to new signatures of mysql_create_table, mysql_alter_table,
        select_create. Functions mysql_create_index and mysql_drop_index has
        become identical after initialization of alter_info was moved to the 
        parser, and were merged. Flag enable_slow_log was not updated for 
        SQLCOM_DROP_INDEX, which is a bug. Just like CREATE INDEX, DROP INDEX
        is currently done via complete table rebuild and is rightfully a slow
        administrative statement.
      sql/sql_show.cc:
        Adjust mysqld_show_create_db to a new signature.
      sql/sql_table.cc:
        Adjust mysql_alter_table, mysql_recreate_table, mysql_create_table,
        mysql_prepare_table to new signatures.
      sql/sql_yacc.yy:
        LEX::key_list and LEX::create_list moved to class Alter_info
      e47ded81