An error occurred fetching the project authors.
  1. 24 Feb, 2010 1 commit
    • Alexander Barkov's avatar
      Backporting WL#1213 · 8994fad8
      Alexander Barkov authored
      config/ac-macros/character_sets.m4:
        - Adding configure definitions for utf8mb4, utf16, utf32
      include/config-win.h:
        - Enabling utf8mb4, utf16, utf32 in Windows build
      include/m_ctype.h:
        - Adding new flags
        - Adding new shared functions prototypes
      mysql-test/include/ctype_datetime.inc:
        - Adding test to check that datetime functions
          work with "real" multibyte character sets.
      mysql-test/include/ctype_like.inc:
        - Adding LIKE tests
      mysql-test/include/have_utf16.inc:
        New file
      mysql-test/include/have_utf32.inc:
        New file
      mysql-test/include/have_utf8mb4.inc:
        New file
      mysql-test/r/ctype_ldml.result:
        - Adding tests for utf8mb4, utf16, utf32
      mysql-test/r/ctype_many.result:
        - Adding tests to check superset/subset relations
          between all Unicode character sets.
      mysql-test/r/ctype_utf16.result:
        New file
      mysql-test/r/ctype_utf16_uca.result:
        New file
      mysql-test/r/ctype_utf32.result:
        New file
      mysql-test/r/ctype_utf32_uca.result:
        New file
      mysql-test/r/ctype_utf8.result:
        - Adding tests for utf8mn3 alias
      mysql-test/r/ctype_utf8mb4.result:
        - Adding tests for utf8mb4
      mysql-test/r/have_utf16.require:
        New file
      mysql-test/r/have_utf32.require:
        New file
      mysql-test/r/have_utf8mb4.require:
        New file
      mysql-test/std_data/Index.xml:
        - Adding tests for loadable utf8m4, utf16, utf32 collations
      mysql-test/suite/sys_vars/r/character_set_client_basic.result:
        - Adding tests for utf16, utf32.
        - Fixing new number of character sets
      mysql-test/suite/sys_vars/r/character_set_connection_basic.result:
        - Fixing new number of character sets
      mysql-test/suite/sys_vars/r/character_set_database_basic.result:
        - Fixing new number of character sets
      mysql-test/suite/sys_vars/r/character_set_filesystem_basic.result:
        - Fixing new number of character sets
      mysql-test/suite/sys_vars/r/character_set_results_basic.result:
        - Fixing new number of character sets
      mysql-test/suite/sys_vars/t/character_set_client_basic.test:
        - Adding tests for new character sets
      mysql-test/suite/sys_vars/t/character_set_connection_basic.test:
        - Adding dependency on utf8mb4, utf16, utf32
      mysql-test/suite/sys_vars/t/character_set_database_basic.test:
        - Adding dependency on utf8mb4, utf16, utf32
      mysql-test/suite/sys_vars/t/character_set_filesystem_basic.test:
        - Adding dependency on utf8mb4, utf16, utf32
      mysql-test/suite/sys_vars/t/character_set_results_basic.test:
        - Adding dependency on utf8mb4, utf16, utf32
      mysql-test/t/ctype_ldml.test:
        - Adding tests for dynamic utf8mb4, utf16, utf32 collations
      mysql-test/t/ctype_many.test:
        - Adding tests to check superset/subset relations
          between all Unicode character sets
      mysql-test/t/ctype_utf16.test:
        New file
      mysql-test/t/ctype_utf16_uca.test:
        New file
      mysql-test/t/ctype_utf32.test:
        New file
      mysql-test/t/ctype_utf32_uca.test:
        New file
      mysql-test/t/ctype_utf8.test:
        - Adding tests for utf8mb4 alias
      mysql-test/t/ctype_utf8mb4.test:
        New file
      mysys/charset-def.c:
        - Adding initialization of utf8mb4, utf16, utf32 built-int collations
      mysys/charset.c:
        - Adding initialization of utf8mb4, utf16, utf32 dynamic collations
      sql/field.cc:
        - Fixing "truncated" error with datetime functions:
          Force conversion in case of non-ascii character sets.
      sql/item.cc:
        - Adding superset/subset relation check for utf8mb4/utf8
      sql/item_strfunc.cc:
        - Fixing a problem with CHAR(x USING utf32)
      sql/sql_string.cc:
        - Fixing problems with zero padding for UTF32
      sql/sql_table.cc:
        - Fixing buffer size, to make utf32 comma fit.
      strings/ctype-mb.c:
        - Making handlers for multi-byte binary collations public
      strings/ctype-uca.c:
        - Adding definitions for utf8mb4, utf16, utf32 UCA collations
      strings/ctype-ucs2.c:
        - Adding functions which are shared between ucs2, utf16, utf32
        - Ading utf16 implementation
        - Adding utf32 implementation
      strings/ctype-utf8.c:
        - Adding functions shared between utf8 and utf8mb4
        - Adding implementation of utf8mb4
      8994fad8
  2. 22 Dec, 2009 1 commit
    • Alexey Kopytov's avatar
      Backport of WL #2934: Make/find library for doing float/double · 12f364ec
      Alexey Kopytov authored
                            to string conversions and vice versa" 
      Initial import of the dtoa.c code and custom wrappers around it 
      to allow its usage from the server code. 
       
      Conversion of FLOAT/DOUBLE values to DECIMAL ones or strings 
      and vice versa has been significantly reworked. As the new 
      algoritms are more precise than the older ones, results of such 
      conversions may not always match those obtained from older 
      server versions. This in turn may break compatibility for some 
      applications. 
       
      This patch also fixes the following bugs: 
      - bug #12860 "Difference in zero padding of exponent between 
      Unix and Windows" 
      - bug #21497 "DOUBLE truncated to unusable value" 
      - bug #26788 "mysqld (debug) aborts when inserting specific 
      numbers into char fields" 
      - bug #24541 "Data truncated..." on decimal type columns 
      without any good reason" 
      12f364ec
  3. 24 Nov, 2009 1 commit
    • Konstantin Osipov's avatar
      Backport of: · 9a9e8d23
      Konstantin Osipov authored
      ----------------------------------------------------------------------
      ChangeSet@1.2571, 2008-04-08 12:30:06+02:00, vvaintroub@wva. +122 -0
        Bug#32082 : definition of VOID in my_global.h conflicts with Windows
        SDK headers
        
        VOID macro is now removed. Its usage is replaced with void cast.
        In some cases, where cast does not make much sense (pthread_*, printf, 
        hash_delete, my_seek), cast is ommited.
      
      
      client/mysqladmin.cc:
        Bug#32082 : remove VOID macro
      client/mysqldump.c:
        Bug#32082 : remove VOID macro
      client/mysqlimport.c:
        Bug#32082 : remove VOID macro
      client/mysqlslap.c:
        Bug#32082 : remove VOID macro
      client/mysqltest.cc:
        Bug#32082 : remove VOID macro
      client/sql_string.cc:
        Bug#32082 : remove VOID macro
      extra/comp_err.c:
        Bug#32082 : remove VOID macro
      extra/replace.c:
        Bug#32082 : remove VOID macro
      include/my_alarm.h:
        Bug#32082 : remove VOID macro
      include/my_global.h:
        Bug#32082 : remove VOID macro
      libmysql/libmysql.c:
        Bug#32082 : remove VOID macro
      mysys/errors.c:
        Bug#32082 : remove VOID macro
      mysys/hash.c:
        Bug#32082 : remove VOID macro
      mysys/mf_iocache2.c:
        Bug#32082 : remove VOID macro
      mysys/mf_loadpath.c:
        Bug#32082 : remove VOID macro
      mysys/mf_path.c:
        Bug#32082 : remove VOID macro
      mysys/my_append.c:
        Bug#32082 : remove VOID macro
      mysys/my_clock.c:
        Bug#32082 : remove VOID macro
      mysys/my_copy.c:
        Bug#32082 : remove VOID macro
      mysys/my_fstream.c:
        Bug#32082 : remove VOID macro
      mysys/my_getwd.c:
        Bug#32082 : remove VOID macro
      mysys/my_lib.c:
        Bug#32082 : remove VOID macro
      mysys/my_lockmem.c:
        Bug#32082 : remove VOID macro
      mysys/my_pthread.c:
        Bug#32082 : remove VOID macro
      mysys/my_redel.c:
        Bug#32082 : remove VOID macro
      mysys/stacktrace.c:
        Bug#32082 : remove VOID macro
      mysys/thr_alarm.c:
        Bug#32082 : remove VOID macro
      mysys/thr_lock.c:
        Bug#32082 : remove VOID macro
      sql/derror.cc:
        Bug#32082 : remove VOID macro
      sql/des_key_file.cc:
        Bug#32082 : remove VOID macro
      sql/discover.cc:
        Bug#32082 : remove VOID macro
      sql/field.cc:
        Bug#32082 : remove VOID macro
      sql/filesort.cc:
        Bug#32082 : remove VOID macro
      sql/ha_ndbcluster.cc:
        Bug#32082 : remove VOID macro
      sql/ha_partition.cc:
        Bug#32082 : remove VOID macro
      sql/handler.cc:
        Bug#32082 : remove VOID macro
      sql/hostname.cc:
        Bug#32082 : remove VOID macro
      sql/init.cc:
        Bug#32082 : remove VOID macro
      sql/item.cc:
        Bug#32082 : remove VOID macro
      sql/item_cmpfunc.cc:
        Bug#32082 : remove VOID macro
      sql/item_strfunc.cc:
        Bug#32082 : remove VOID macro
      sql/lock.cc:
        Bug#32082 : remove VOID macro
      sql/log.cc:
        Bug#32082 : remove VOID macro
      sql/log_event.cc:
        Bug#32082 : remove VOID macro
      sql/mysqld.cc:
        Bug#32082 : remove VOID macro
      sql/opt_range.h:
        Bug#32082 : remove VOID macro
      sql/protocol.cc:
        Bug#32082 : remove VOID macro
      sql/records.cc:
        Bug#32082 : remove VOID macro
      sql/sp_head.cc:
        Bug#32082 : remove VOID macro
      sql/sp_pcontext.cc:
        Bug#32082 : remove VOID macro
      sql/sql_acl.cc:
        Bug#32082 : remove VOID macro
      sql/sql_base.cc:
        Bug#32082 : remove VOID macro
      sql/sql_cache.cc:
        Bug#32082 : remove VOID macro
      sql/sql_connect.cc:
        Bug#32082 : remove VOID macro
      sql/sql_db.cc:
        Bug#32082 : remove VOID macro
      sql/sql_delete.cc:
        Bug#32082 : remove VOID macro
      sql/sql_handler.cc:
        Bug#32082 : remove VOID macro
      sql/sql_insert.cc:
        Bug#32082 : remove VOID macro
      sql/sql_map.cc:
        Bug#32082 : remove VOID macro
      sql/sql_parse.cc:
        Bug#32082 : remove VOID macro
      sql/sql_select.cc:
        Bug#32082 : remove VOID macro
      sql/sql_servers.cc:
        Bug#32082 : remove VOID macro
      sql/sql_show.cc:
        Bug#32082 : remove VOID macro
      sql/sql_string.cc:
        Bug#32082 : remove VOID macro
      sql/sql_table.cc:
        Bug#32082 : remove VOID macro
      sql/sql_test.cc:
        Bug#32082 : remove VOID macro
      sql/sql_trigger.cc:
        Bug#32082 : remove VOID macro
      sql/sql_update.cc:
        Bug#32082 : remove VOID macro
      sql/sql_view.cc:
        Bug#32082 : remove VOID macro
      sql/table.cc:
        Bug#32082 : remove VOID macro
      sql/tztime.cc:
        Bug#32082 : remove VOID macro
      sql/udf_example.c:
        Bug#32082 : remove VOID macro
      sql/uniques.cc:
        Bug#32082 : remove VOID macro
      sql/unireg.cc:
        Bug#32082 : remove VOID macro
      storage/archive/ha_archive.cc:
        Bug#32082 : remove VOID macro
      storage/blackhole/ha_blackhole.cc:
        Bug#32082 : remove VOID macro
      storage/csv/ha_tina.cc:
        Bug#32082 : remove VOID macro
      storage/csv/transparent_file.cc:
        Bug#32082 : remove VOID macro
      storage/example/ha_example.cc:
        Bug#32082 : remove VOID macro
      storage/federated/ha_federated.cc:
        Bug#32082 : remove VOID macro
      storage/heap/hp_clear.c:
        Bug#32082 : remove VOID macro
      storage/heap/hp_create.c:
        Bug#32082 : remove VOID macro
      storage/heap/hp_test1.c:
        Bug#32082 : remove VOID macro
      storage/heap/hp_test2.c:
        Bug#32082 : remove VOID macro
      storage/innobase/handler/ha_innodb.cc:
        Bug#32082 : remove VOID macro
      storage/myisam/ft_eval.c:
        Bug#32082 : remove VOID macro
      storage/myisam/ha_myisam.cc:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_changed.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_check.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_close.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_create.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_dbug.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_delete.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_delete_all.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_dynrec.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_info.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_locking.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_log.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_open.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_packrec.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_panic.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_rsame.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_statrec.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_test1.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_test2.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_test3.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_update.c:
        Bug#32082 : remove VOID macro
      storage/myisam/mi_write.c:
        Bug#32082 : remove VOID macro
      storage/myisam/myisamchk.c:
        Bug#32082 : remove VOID macro
      storage/myisam/myisamlog.c:
        Bug#32082 : remove VOID macro
      storage/myisam/myisampack.c:
        Bug#32082 : remove VOID macro
      storage/myisam/sort.c:
        Bug#32082 : remove VOID macro
      storage/myisammrg/myrg_close.c:
        Bug#32082 : remove VOID macro
      storage/myisammrg/myrg_create.c:
        Bug#32082 : remove VOID macro
      storage/myisammrg/myrg_open.c:
        Bug#32082 : remove VOID macro
      strings/str_test.c:
        Bug#32082 : remove VOID macro
      tests/thread_test.c:
        Bug#32082 : remove VOID macro
      9a9e8d23
  4. 10 Nov, 2009 1 commit
    • Davi Arnaut's avatar
      Backport of Bug#45767 to mysql-next-mr · 891dffa3
      Davi Arnaut authored
      ------------------------------------------------------------
      revno: 3405
      revision-id: davi.arnaut@sun.com-20090626124624-m4wolyo5193j4cu7
      parent: luis.soares@sun.com-20090626113019-1j4mn1jos480u9f3
      committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
      branch nick: mysql-pe
      timestamp: Fri 2009-06-26 09:46:24 -0300
      message:
        Bug#45767: deprecate/remove Field::pack_key, Field::unpack_key, Field::pack_cmp
        
        Remove unused and dead code.
        
        Parts of the patch contributed by Zardosht Kasheff
      891dffa3
  5. 30 Sep, 2009 1 commit
    • Alexander Barkov's avatar
      Backporting WL#3759 Optimize identifier conversion in client-server protocol · f02800bd
      Alexander Barkov authored
      This patch provides performance improvements:
      - send_fields() when character_set_results = latin1
        is now about twice faster for column/table/database
        names, consisting on ASCII characters.
      
      Changes:
      
      - Protocol doesn't use "convert" temporary buffer anymore,
        and converts strings directly to "packet".
      
      - General conversion optimization: quick conversion
        of ASCII strings was added.
      
      modified files:
      
      include/m_ctype.h
      - Adding a new flag.
      - Adding a new function prototype
      
      libmysqld/lib_sql.cc
      - Adding quick conversion method for embedded library:
        conversion is now done directly to result buffer,
        without using a temporary buffer.
      
      mysys/charset.c
      - Mark all dynamic ucs2 character sets as non-ASCII
      - Mark some dymamic 7bit and 8bit charsets as non-ASCII
        (for example swe7 is not fully ASCII compatible).
      
      sql/protocol.cc
      - Adding quick method to convert a string directly
        into protocol buffer, without using a temporary buffer.
      
      sql/protocol.h
      - Adding a new method prototype
      
      sql/sql_string.cc
        Optimization for conversion between two ASCII-compatible charsets:
      - quickly convert ASCII strings,
        switch to mc_wc->wc_mb method only when a non-ASCII character is met.
      - copy four ASCII characters at once on i386
      
      strings/conf_to_src.c
      - Marking non-ASCII character sets with a flag.
      
      strings/ctype-extra.c
      - Regenerating ctype-extra.c by running "conf_to_src".
      
      strings/ctype-uca.c
      - Marking UCS2 character set as non-ASCII.
      
      strings/ctype-ucs2.c
      - Marking UCS2 character set as non-ASCII.
      
      strings/ctype.c
      - A new function to detect if a 7bit or 8bit character set
        is ascii compatible.
      f02800bd
  6. 31 Jul, 2009 1 commit
    • Gleb Shchepa's avatar
      Bug# 30946: mysqldump silently ignores --default-character-set · 4e95179a
      Gleb Shchepa authored
                  when used with --tab
      
      1) New syntax: added CHARACTER SET clause to the
        SELECT ... INTO OUTFILE (to complement the same clause in
        LOAD DATA INFILE).
        mysqldump is updated to use this in --tab mode.
      
      2) ESCAPED BY/ENCLOSED BY field parameters are documented as
         accepting CHAR argument, however SELECT .. INTO OUTFILE
         silently ignored rests of multisymbol arguments.
         For the symmetrical behavior with LOAD DATA INFILE the
         server has been modified to fail with the same error:
      
           ERROR 42000: Field separator argument is not what is
                        expected; check the manual
      
      3) Current LOAD DATA INFILE recognizes field/line separators
         "as is" without converting from client charset to data
         file charset. So, it is supposed, that input file of
         LOAD DATA INFILE consists of data in one charset and
         separators in other charset. For the compatibility with
         that [buggy] behaviour SELECT INTO OUTFILE implementation
         has been saved "as is" too, but the new warning message
         has been added:
      
           Non-ASCII separator arguments are not fully supported
      
         This message warns on field/line separators that contain
         non-ASCII symbols.
      
      
      client/mysqldump.c:
        mysqldump has been updated to call SELECT ... INTO OUTFILE
        statement with a charset from the --default-charset command
        line parameter.
      mysql-test/r/mysqldump.result:
        Added test case for bug #30946.
      mysql-test/r/outfile_loaddata.result:
        Added test case for bug #30946.
      mysql-test/t/mysqldump.test:
        Added test case for bug #30946.
      mysql-test/t/outfile_loaddata.test:
        Added test case for bug #30946.
      sql/field.cc:
        String conversion code has been moved from check_string_copy_error()
        to convert_to_printable() for reuse.
      sql/share/errmsg.txt:
        New WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED message has been added.
      sql/sql_class.cc:
        The select_export::prepare() method has been modified to:
        
          1) raise the ER_WRONG_FIELD_TERMINATORS error on multisymbol
             ENCLOSED BY/ESCAPED BY field arguments like LOAD DATA INFILE;
        
          2) warn with a new WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED
             message on non-ASCII field or line separators.
        
        The select_export::send_data() merhod has been modified to
        convert item data to output charset (see new SELECT INTO OUTFILE
        syntax). By default the BINARY charset is used for backward
        compatibility.
      sql/sql_class.h:
        The select_export::write_cs field added to keep output
        charset.
      sql/sql_load.cc:
        mysql_load has been modified to warn on non-ASCII field or
        line separators with a new WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED
        message.
      sql/sql_string.cc:
        New global function has been added: convert_to_printable()
        (common code has been moved from check_string_copy_error()).
      sql/sql_string.h:
        New String::is_ascii() method and new global convert_to_printable()
        function have been added.
      sql/sql_yacc.yy:
        New syntax: added CHARACTER SET clause to the
        SELECT ... INTO OUTFILE (to complement the same clause in
        LOAD DATA INFILE). By default the BINARY charset is used for
        backward compatibility.
      4e95179a
  7. 16 Jun, 2009 1 commit
    • Martin Hansson's avatar
      Bug#45168: assertion with convert() and empty set value · aa8677bc
      Martin Hansson authored
            
      The assertion in String::copy was added in order to avoid
      valgrind errors when the destination was the same as the source.
      Eased restriction to allow for the case when str == NULL.
      
      
      mysql-test/r/func_set.result:
        Bug#45168: Test result
      mysql-test/t/func_set.test:
        Bug#45168: Test case
      sql/item_strfunc.cc:
        Bug#45168: Code cleanup and grammar correction in comment
      sql/sql_string.cc:
        Bug#45168: Fix
      aa8677bc
  8. 21 May, 2009 1 commit
    • Ramil Kalimullin's avatar
      Fix for bug#44743: Join in combination with concat does not always work · 985df4dc
      Ramil Kalimullin authored
              bug#44766: valgrind error when using convert() in a subquery
      
      Problem: input and output buffers may be the same 
      converting a string to some charset. 
      That may lead to wrong results/valgrind warnings.  
      
      Fix: use different buffers.
      
      
      mysql-test/r/cast.result:
        Fix for bug#44743: Join in combination with concat does not always work
                bug#44766: valgrind error when using convert() in a subquery
          - test result.
      mysql-test/r/func_concat.result:
        Fix for bug#44743: Join in combination with concat does not always work
                bug#44766: valgrind error when using convert() in a subquery
          - test result.
      mysql-test/t/cast.test:
        Fix for bug#44743: Join in combination with concat does not always work
                bug#44766: valgrind error when using convert() in a subquery
          - test case.
      mysql-test/t/func_concat.test:
        Fix for bug#44743: Join in combination with concat does not always work
                bug#44766: valgrind error when using convert() in a subquery
          - test case.
      sql/item.cc:
        Fix for bug#44743: Join in combination with concat does not always work
                bug#44766: valgrind error when using convert() in a subquery
          - comment added.
      sql/item_strfunc.cc:
        Fix for bug#44743: Join in combination with concat does not always work
                bug#44766: valgrind error when using convert() in a subquery
          - '&args[0]->str_value' used as a parameter of args[0]->val_str(),
            as 'str' may be equal to 'str_value' which we use as the output buffer
            converting strings.
      sql/sql_string.cc:
        Fix for bug#44743: Join in combination with concat does not always work
                bug#44766: valgrind error when using convert() in a subquery
          - input and output buffers must NOT be the same.
      985df4dc
  9. 10 Feb, 2009 2 commits
    • Ignacio Galarza's avatar
      Bug#29125 Windows Server X64: so many compiler warnings · 54fbbf95
      Ignacio Galarza authored
      - Remove bothersome warning messages.  This change focuses on the warnings 
      that are covered by the ignore file: support-files/compiler_warnings.supp.
      - Strings are guaranteed to be max uint in length
      54fbbf95
    • Alexey Kopytov's avatar
      Fix for bug #41868: crash or memory overrun with concat + upper, · fd8bf58c
      Alexey Kopytov authored
                          date_format functions
      
      String::realloc() did not check whether the existing string data fits in
      the newly allocated buffer for cases when reallocating a String object
      with external buffer (i.e.alloced == FALSE).  This could lead to memory
      overruns in some cases.
      
      client/sql_string.cc:
        Fixed String::realloc() to check whether the existing string data fits
        in the newly allocated buffer for cases when reallocating a String
        object with external buffer.
      mysql-test/r/func_str.result:
        Added a test case for bug #41868.
      mysql-test/t/func_str.test:
        Added a test case for bug #41868.
      sql/sql_class.cc:
        After each call to Item::send() in select_send::send_data() reset
        buffer to its original state to reduce unnecessary malloc() calls. See
        comments for bug #41868 for detailed analysis.
      sql/sql_string.cc:
        Fixed String::realloc() to check whether the existing string data fits
        in the newly allocated buffer for cases when reallocating a String
        object with external buffer.
      fd8bf58c
  10. 06 Feb, 2009 1 commit
  11. 03 Feb, 2009 1 commit
    • Alexey Kopytov's avatar
      Fix for bug #41868: crash or memory overrun with concat + upper, date_format · dfbba6e7
      Alexey Kopytov authored
                          functions
            
      String::realloc() did not check whether the existing string data fits in the newly
      allocated buffer for cases when reallocating a String object with external buffer
      (i.e.alloced == FALSE).  This could lead to memory overruns in some cases.
      
      
      mysql-test/r/func_str.result:
        Added a test case for bug #41868.
      mysql-test/t/func_str.test:
        Added a test case for bug #41868.
      sql/sql_class.cc:
        After each call to Item::send() in select_send::send_data() reset buffer to its
        original state to reduce unnecessary malloc() calls. See comments for bug #41868
        for detailed analysis.
      sql/sql_string.cc:
        Fixed String::realloc() to check whether the existing string data fits in the newly allocated buffer for cases when reallocating a String object with external buffer.
      dfbba6e7
  12. 28 Jan, 2009 1 commit
    • Alexey Kopytov's avatar
      Fix for bug #21205: Different number of digits for float/double/real in --ps-protocol · a0194637
      Alexey Kopytov authored
      Various parts of code used different 'precision' arguments for sprintf("%g") when converting
      floating point numbers to a string. This led to differences in results in some cases 
      depending on whether the text-based or prepared statements protocol is used for a query.
      
      Fixed by changing arguments to sprintf("%g") to always be 15 (DBL_DIG) so that results are
      consistent regardless of the protocol.
      
      This patch will be null-merged to 6.0 as the problem does not exists there (fixed by the
      patch for WL#2934).
      
      client/sql_string.cc:
        Use 15 (DBL_DIG) as a precision argument for sprintf(), as Field_double::val_str() does.
      libmysql/libmysql.c:
        Use 15 (DBL_DIG) as a precision argument for sprintf(), as Field_double::val_str() does.
      mysql-test/r/archive_gis.result:
        Fixed test results to take additional precision into account.
      mysql-test/r/func_group.result:
        Fixed test results to take additional precision into account.
      mysql-test/r/func_math.result:
        Fixed test results to take additional precision into account.
      mysql-test/r/func_str.result:
        Fixed test results to take additional precision into account.
      mysql-test/r/gis.result:
        Fixed test results to take additional precision into account.
      mysql-test/r/innodb_gis.result:
        Fixed test results to take additional precision into account.
      mysql-test/r/select.result:
        Fixed test results to take additional precision into account.
      mysql-test/r/sp.result:
        Fixed test results to take additional precision into account.
      mysql-test/r/type_float.result:
        Fixed test results to take additional precision into account.
      mysql-test/t/type_float.test:
        Fixed test results to take additional precision into account.
      sql/sql_string.cc:
        Use 15 (DBL_DIG) as a precision argument for sprintf(), as Field_double::val_str() does.
      a0194637
  13. 05 Mar, 2008 1 commit
    • unknown's avatar
      Bug #33544: UDF_INIT member decimals initialized wrong with · 1d20b6ff
      unknown authored
        STRING_RESULT argument
      
      There is a "magic" number for precision : NOT_FIXED_DEC. 
      This means that the precision is not a fixed number.
      But this constant was re-defined in several files and 
      was not available to the UDF developers.
      
      Moved the NOT_FIXED_DEC definition to the correct header
      and removed the redundant definitions.
      
      
      client/sql_string.cc:
        Bug #33544: moved NOT_FIXED_DEC to the correct header
      client/sql_string.h:
        Bug #33544: moved NOT_FIXED_DEC to the correct header
      include/mysql_com.h:
        Bug #33544: moved NOT_FIXED_DEC to the correct header
      libmysql/libmysql.c:
        Bug #33544: moved NOT_FIXED_DEC to the correct header
      sql/field.h:
        Bug #33544: moved NOT_FIXED_DEC to the correct header
      sql/sql_string.cc:
        Bug #33544: moved NOT_FIXED_DEC to the correct header
      sql/sql_string.h:
        Bug #33544: moved NOT_FIXED_DEC to the correct header
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Bug #33544: moved NOT_FIXED_DEC to the correct header
      1d20b6ff
  14. 29 Feb, 2008 1 commit
    • unknown's avatar
      Bug#23924 general_log truncates queries with character set introducers. · 1ed34fed
      unknown authored
      Problem: logging of utf8-incompatible binary strings didn't work
      Fix: hex-encoding of incompatible sequences.
      
      
      mysql-test/r/log_tables.result:
        Adding test
      mysql-test/t/log_tables.test:
        Adding test
      sql/field.cc:
        Copying with hex escaping
      sql/field.h:
        New field flag
      sql/log.cc:
        Marking the column "general_log.argument" as hex-escaping field.
      sql/sql_string.cc:
        New function to copy strings with hex-encoding of incompatible characters.
      sql/sql_string.h:
        Prototype for the new function
      1ed34fed
  15. 05 Dec, 2007 1 commit
    • unknown's avatar
      sql_string.cc: · c4faf61a
      unknown authored
        Fixing a wrong comment.
      
      
      sql/sql_string.cc:
        Fixing a wrong comment.
      c4faf61a
  16. 19 Nov, 2007 1 commit
    • unknown's avatar
      Fixed bug #32282: TEXT silently truncates when value is exactly 65536 · ea739898
      unknown authored
      bytes length.
      
      The server has been modified to report warnings on truncation to
      65536 bytes as usual.
      
      
      
      sql/sql_string.cc:
        Fixed bug #32282.
        The well_formed_copy_nchars function returned an incorrect value
        of copied bytes of the truncated input string: extra length of
        the first truncated character added to the *from_end_pos pointer.
        That has been fixed.
      mysql-test/r/type_blob.result:
        Added test case for bug #32282.
      mysql-test/t/type_blob.test:
        Added test case for bug #32282.
      ea739898
  17. 13 Aug, 2007 1 commit
    • unknown's avatar
      Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris · 09a53f28
      unknown authored
      Faster thr_alarm()
      Added 'Opened_files' status variable to track calls to my_open()
      Don't give warnings when running mysql_install_db
      Added option --source-install to mysql_install_db
      
      I had to do the following renames() as used polymorphism didn't work with Forte compiler on 64 bit systems
      index_read()      -> index_read_map()
      index_read_idx()  -> index_read_idx_map()
      index_read_last() -> index_read_last_map()
      
      
      BUILD/compile-solaris-sparc-forte:
        Updated script to current Solaris installations
        Now we compile by default for 64 bits
      client/mysql.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      client/mysql_upgrade.c:
        Fixed compiler warning (on Forte)
      client/mysqladmin.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      client/mysqlcheck.c:
        Fixed compiler warning (on Forte)
      client/mysqldump.c:
        Fixed compiler warning (on Forte)
      client/mysqlslap.c:
        Fixed compiler warning (on Forte)
      client/mysqltest.c:
        Fixed compiler warning (on Forte)
      client/sql_string.cc:
        Avoid compiler warnings when using C function pointers in C++
      configure.in:
        Added detection of mtmalloc and ieeefp.h
      extra/replace.c:
        Fixed compiler warning (on Forte)
      include/m_ctype.h:
        Added some typedef's to make it easy to use C function pointers in C++
      include/my_sys.h:
        Added my_file_total_opened (counter for calls to my_open())
      include/myisam.h:
        Fixed compiler warning (on Forte)
      libmysql/libmysql.c:
        Fixed compiler warning (on Forte) by adding casts and change types
      libmysql/manager.c:
        Fixed compiler warning (on Forte) by adding casts and change types
      mysql-test/r/ctype_cp932_binlog_stm.result:
        Updated positions
        (Needed because we didn't before correctly restore collation_database after running stored procedure
      mysys/my_fopen.c:
        Count number of opened files
      mysys/my_open.c:
        Count number of opened files
      mysys/my_static.c:
        Count number of opened files
      mysys/thr_alarm.c:
        Optimization to do less alarm() and pthread_sigmask() calls.
        Idea is to remember time for next pending alarm and not reschedule a new alarm if it's after the current one.
        Before we only did this if there was other pending alarms.
        We don't have to use pthread_sigmask() in case of 'USE_ONE_SIGNAL_HAND' as the alarm()
        signal will be blocked for the calling thread anyway and no other thread will have the alarm() signal enabled to call process_alarm()
      regex/regcomp.c:
        Fixed compiler warning (on Forte) by adding casts and change types
      scripts/mysql_install_db.sh:
        Added option --source-install to allow one to create a mysql database from the source tree without installing MySQL
        Don't give (unnecessary) warnings
      server-tools/instance-manager/angel.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      server-tools/instance-manager/thread_registry.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      sql/event_db_repository.cc:
        index_read() -> index_read_map()
      sql/event_queue.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      sql/field.cc:
        Fixed compiler warnings about hidden fields
      sql/ha_partition.cc:
        Fixed compiler warnings about hidden fields
        index_read() -> index_read_map()
      sql/ha_partition.h:
        index_read() -> index_read_map()
      sql/handler.cc:
        Added PAGE option to row types (to prepare for future)
        index_read() -> index_read_map()
      sql/handler.h:
        Added ROW_TYPE_PAGE (for future)
        Added flag to signal if table was to be created transactionally
        I had to do the following renames() as used polymorphism didn't work with Forte compiler on 64 bit systems
        index_read()      -> index_read_map()
        index_read_idx()  -> index_read_idx_map()
        index_read_last() -> index_read_last_map()
      sql/item.cc:
        Fixed indentation
        Renamed local variable to avoid hiding class variable
      sql/item_cmpfunc.cc:
        Renamed local variable to avoid hiding class variable
      sql/item_cmpfunc.h:
        Removed not used variable
      sql/item_func.cc:
        Renamed local variable to avoid hiding class variable
      sql/item_strfunc.cc:
        Moved functions from Item_strfunc.cc
      sql/item_strfunc.h:
        Move functions to item_strfunc.cc
        Use C function pointer type to avoid compiler warnings (with Forte)
      sql/item_subselect.cc:
        index_read() -> index_read_map()
      sql/item_xmlfunc.cc:
        Renamed local variable to avoid hiding class variable
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      sql/key.cc:
        Fixed indentation
      sql/log.cc:
        Renamed local variable to avoid hiding class variable
      sql/log_event.cc:
        Removed call to my_time() when creating class instance of Log_event() as this may have static instances.
        (One can't call my_time() before my_init())
        index_read() -> index_read_map()
        Renamed local variable to avoid hiding class variable
      sql/log_event_old.cc:
        Renamed local variable to avoid hiding class variable
      sql/mysql_priv.h:
        Made all create_backup_ctx() declarations identical.
        This lifted up a bug where wrong create_backup_ctx() was called in some cases.
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      sql/mysqld.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
        Fixed indentation
        Don't call end_thr_alarm() when calling unireg_abort() as unireg_abort() already calls end_thr_alarm()
        Added variable 'Opened_files' (number of calls to my_open() or my_fopen())
        Don't print 'loose' warnings when using --bootstrap (to avoid warnings when running mysql_install_db)
        Fixed compiler warnings
      sql/opt_range.cc:
        index_read() -> index_read_map()
      sql/opt_sum.cc:
        index_read() -> index_read_map()
      sql/partition_info.cc:
        Renamed local variable to avoid hiding class variable
      sql/rpl_filter.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      sql/set_var.cc:
        Renamed local variable to avoid hiding class variable
        Added 'process_key_cache_t' type to avoid compiler warning (on Forte)
      sql/set_var.h:
        Added 'process_key_cache_t' type to avoid compiler warning (on Forte)
      sql/sp.cc:
        More debugging
        index_read() -> index_read_map()
      sql/sp_cache.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      sql/sp_head.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
        Moved 'saved_creation_ctx' higher up to be able to free objects allocated by create_backup_ctx()
      sql/sql_acl.cc:
        index_read() -> index_read_map()
      sql/sql_class.cc:
        Renamed local variable to avoid hiding class variable
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      sql/sql_class.h:
        Renamed local variable to avoid hiding class variable
      sql/sql_db.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      sql/sql_delete.cc:
        Renamed local variable to avoid hiding class variable
      sql/sql_handler.cc:
        index_read() -> index_read_map()
      sql/sql_help.cc:
        index_read() -> index_read_map()
      sql/sql_insert.cc:
        index_read() -> index_read_map()
        Renamed local variable to avoid hiding class variable
      sql/sql_lex.cc:
        Renamed local variable to avoid hiding class variable
      sql/sql_plugin.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
        index_read() -> index_read_map()
        Don't give warnings about not used plugins if we are using --warnings=0
      sql/sql_select.cc:
        index_read() -> index_read_map()
      sql-common/client.c:
        Fixed compiler warning (on Forte)
      sql-common/my_time.c:
        Removed never accessed code
        Fixed compiler warning (on Forte)
      sql/sql_servers.cc:
        index_read() -> index_read_map()
      sql/sql_show.cc:
        Added TRANSACTIONAL to SHOW CREATE
        Fixed ROW_TYPE_PAGE
      sql/sql_string.cc:
        Avoid compiler warnings when using C function pointers in C++
      sql/sql_table.cc:
        Set create_info->transactional if we used TRANSACTIONAL=1
      sql/sql_udf.cc:
        index_read() -> index_read_map()
      sql/sql_yacc.yy:
        Added TRANSACTIONAL=0|1 to CREATE (for future)
        Added row type PAGE (was only partionally handled before)
      sql/strfunc.cc:
        Avoid compiler warnings when using C function pointers in C++
      sql/table.cc:
        More DBUG statements
        Declare all create_backup_ctx() functions identically
        Remember if table was created with TRANSACTIONAL flag or not (future safe)
        Renamed local variable to avoid hiding class variable
      sql/table.h:
        Remember if table was created with TRANSACTIONAL=1
      sql/tztime.cc:
        index_read() -> index_read_map()
      sql-common/pack.c:
        Fixed compiler warning (on Forte)
      storage/archive/archive_reader.c:
        Fixed compiler warning (on Forte)
      storage/archive/azio.c:
        Fixed compiler warning (on Forte)
      storage/blackhole/ha_blackhole.cc:
        index_read() -> index_read_map()
      storage/blackhole/ha_blackhole.h:
        index_read() -> index_read_map()
      storage/csv/ha_tina.cc:
        Declare functions sent to C code with extern "C" to avoid compiler warnings (on Forte)
      storage/example/ha_example.cc:
        index_read() -> index_read_map()
      storage/example/ha_example.h:
        index_read() -> index_read_map()
      storage/heap/ha_heap.cc:
        index_read() -> index_read_map()
      storage/heap/ha_heap.h:
        index_read() -> index_read_map()
      storage/heap/hp_test1.c:
        Fixed compiler warning (on Forte)
      storage/heap/hp_test2.c:
        Fixed compiler warning (on Forte)
      storage/myisam/ft_boolean_search.c:
        Fixed compiler warning (on Forte)
      storage/myisam/ft_nlq_search.c:
        Fixed compiler warning (on Forte)
      storage/myisam/ft_parser.c:
        Fixed compiler warning (on Forte)
      storage/myisam/ft_stopwords.c:
        Fixed compiler warning (on Forte)
      storage/myisam/ha_myisam.cc:
        index_read() -> index_read_map()
      storage/myisam/ha_myisam.h:
        index_read() -> index_read_map()
      storage/myisam/mi_check.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_delete.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_dynrec.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_extra.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_key.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_keycache.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_locking.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_log.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_open.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_packrec.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_page.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_rkey.c:
        Added comment
      storage/myisam/mi_search.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_statrec.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_test1.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_test2.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_test3.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_update.c:
        Fixed compiler warning (on Forte)
      storage/myisam/mi_write.c:
        Fixed compiler warning (on Forte)
      storage/myisam/myisamdef.h:
        Fixed that file_read/file_write returns type size_t
        Changed some functions to use uchar * as argument/return value instead of char*
        This fixed some compiler warnings on Forte
      storage/myisam/myisamlog.c:
        Fixed compiler warning (on Forte)
      storage/myisam/myisampack.c:
        Fixed compiler warning (on Forte)
      storage/myisam/rt_test.c:
        Fixed compiler warning (on Forte)
      storage/myisam/sort.c:
        Fixed compiler warning (on Forte) by adding casts or changing variables to uchar*
      storage/myisam/sp_test.c:
        Fixed compiler warning (on Forte) by adding casts or changing variables to uchar*
      storage/myisammrg/ha_myisammrg.cc:
        index_read() -> index_read_map()
      storage/myisammrg/ha_myisammrg.h:
        index_read() -> index_read_map()
      storage/myisammrg/myrg_create.c:
        Fixed compiler warning (on Forte) by adding casts or changing variable types
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Tdummy -> align  (as in other part of cluster code)
      storage/ndb/src/kernel/vm/DynArr256.cpp:
        Removed not used variable
      storage/ndb/src/ndbapi/Ndb.cpp:
        Removed not used variable
      strings/strtod.c:
        Include ieeefp.h to avoid compiler warning
      tests/bug25714.c:
        Fixed compiler warning
      tests/mysql_client_test.c:
        Remove not used variable
        Fixed indentation
        Removed never reached code
        Fixed compiler warning (on Forte) by adding casts or changing variable types
      vio/viosocket.c:
        Fixed compiler warning (on Forte) by adding casts or changing variable types
      09a53f28
  18. 07 Aug, 2007 1 commit
    • unknown's avatar
      Reversing additional change suggested by Serg · c6e88899
      unknown authored
      under terms of bug#28875 for better performance.
      The change appeared to require more changes in item_cmpfunc.cc,
      which is dangerous in 5.0.
          
      Conversion between a latin1 column and an ascii string constant
      stopped to work.
      
      
      mysql-test/r/ctype_recoding.result:
        Adding test case.
      mysql-test/t/ctype_recoding.test:
        Adding test case.
      c6e88899
  19. 03 Aug, 2007 1 commit
    • unknown's avatar
      Bug#28875 Conversion between ASCII and LATIN1 charsets does not function · 53df09a9
      unknown authored
      (Regression, caused by a patch for the bug 22646).
      Problem: when result type of date_format() was changed from
      binary string to character string, mixing date_format()
      with a ascii column in CONCAT() stopped to work.
      Fix:
      - adding "repertoire" flag into DTCollation class,
      to mark items which can return only pure ASCII strings.
      - allow character set conversion from pure ASCII to other character sets.
      
      
      include/m_ctype.h:
        Defining new flags.
        Adding new function prototypes.
      mysql-test/r/ctype_ucs.result:
        Adding tests.
      mysql-test/r/ctype_utf8.result:
        Adding tests.
      mysql-test/r/func_time.result:
        Adding tests.
      mysql-test/t/ctype_ucs.test:
        Adding tests.
      mysql-test/t/ctype_utf8.test:
        Adding tests.
      mysql-test/t/func_time.test:
        Adding test.
      mysys/charset.c:
        Adding pure ASCII detection when loading a dynamic character set.
      sql/item.cc:
        - Moving detection of a Unicode superset into function.
        - Adding detection of a ASCII subset.
        - Adding creation of to-ASCII character set convertor when
          safe_charset_converter() failed and when the argument.
          repertoire is know to be pure ASCII.
      sql/item.h:
        - Adding "repertoire" member into DTCollation class.
        - Adding "repertoire" argument to constructors.
        - Adding new methods:
          set_repertoire_from_charset()
          set_repertoire_from_value()
      sql/item_func.cc:
        Adding "repertoire" argument.
      sql/item_strfunc.cc:
        Adding "repertoire" argument.
      sql/item_timefunc.cc:
        Initializing the result repertoire taking into account the "is_ascii"
        flag of the current locale.
      sql/sql_lex.cc:
        Detect 7bit strings, return in Lex->text_string_is_7bit.
      sql/sql_lex.h:
        Adding new member into LEX structure.
        Adding new member into Lex_input_stream
      sql/sql_string.cc:
        Allow simple copy from pure ASCII to a ASCII-based character set.
      sql/sql_yacc.yy:
        Depening on Lex->text_string_is_7bit and character set features,
        create Item_string with MY_REPERTOIRE_ASCII when it is possible.
      strings/conf_to_src.c:
        - Adding printing of the "MY_CS_PUREASCII" flag
        - Adding printing of copyright
      strings/ctype-extra.c:
        Recreating ctype-extra.c: ascii_general_ci and ascii_bin
        are now marked with MY_CS_PUREASCII flag.
      strings/ctype.c:
        Adding new functions.
      53df09a9
  20. 10 May, 2007 1 commit
    • unknown's avatar
      WL#3817: Simplify string / memory area types and make things more consistent (first part) · f252f924
      unknown authored
      The following type conversions was done:
      
      - Changed byte to uchar
      - Changed gptr to uchar*
      - Change my_string to char *
      - Change my_size_t to size_t
      - Change size_s to size_t
      
      Removed declaration of byte, gptr, my_string, my_size_t and size_s. 
      
      Following function parameter changes was done:
      - All string functions in mysys/strings was changed to use size_t
        instead of uint for string lengths.
      - All read()/write() functions changed to use size_t (including vio).
      - All protocoll functions changed to use size_t instead of uint
      - Functions that used a pointer to a string length was changed to use size_t*
      - Changed malloc(), free() and related functions from using gptr to use void *
        as this requires fewer casts in the code and is more in line with how the
        standard functions work.
      - Added extra length argument to dirname_part() to return the length of the
        created string.
      - Changed (at least) following functions to take uchar* as argument:
        - db_dump()
        - my_net_write()
        - net_write_command()
        - net_store_data()
        - DBUG_DUMP()
        - decimal2bin() & bin2decimal()
      - Changed my_compress() and my_uncompress() to use size_t. Changed one
        argument to my_uncompress() from a pointer to a value as we only return
        one value (makes function easier to use).
      - Changed type of 'pack_data' argument to packfrm() to avoid casts.
      - Changed in readfrm() and writefrom(), ha_discover and handler::discover()
        the type for argument 'frmdata' to uchar** to avoid casts.
      - Changed most Field functions to use uchar* instead of char* (reduced a lot of
        casts).
      - Changed field->val_xxx(xxx, new_ptr) to take const pointers.
      
      Other changes:
      - Removed a lot of not needed casts
      - Added a few new cast required by other changes
      - Added some cast to my_multi_malloc() arguments for safety (as string lengths
        needs to be uint, not size_t).
      - Fixed all calls to hash-get-key functions to use size_t*. (Needed to be done
        explicitely as this conflict was often hided by casting the function to
        hash_get_key).
      - Changed some buffers to memory regions to uchar* to avoid casts.
      - Changed some string lengths from uint to size_t.
      - Changed field->ptr to be uchar* instead of char*. This allowed us to
        get rid of a lot of casts.
      - Some changes from true -> TRUE, false -> FALSE, unsigned char -> uchar
      - Include zlib.h in some files as we needed declaration of crc32()
      - Changed MY_FILE_ERROR to be (size_t) -1.
      - Changed many variables to hold the result of my_read() / my_write() to be
        size_t. This was needed to properly detect errors (which are
        returned as (size_t) -1).
      - Removed some very old VMS code
      - Changed packfrm()/unpackfrm() to not be depending on uint size
        (portability fix)
      - Removed windows specific code to restore cursor position as this
        causes slowdown on windows and we should not mix read() and pread()
        calls anyway as this is not thread safe. Updated function comment to
        reflect this. Changed function that depended on original behavior of
        my_pwrite() to itself restore the cursor position (one such case).
      - Added some missing checking of return value of malloc().
      - Changed definition of MOD_PAD_CHAR_TO_FULL_LENGTH to avoid 'long' overflow.
      - Changed type of table_def::m_size from my_size_t to ulong to reflect that
        m_size is the number of elements in the array, not a string/memory
        length.
      - Moved THD::max_row_length() to table.cc (as it's not depending on THD).
        Inlined max_row_length_blob() into this function.
      - More function comments
      - Fixed some compiler warnings when compiled without partitions.
      - Removed setting of LEX_STRING() arguments in declaration (portability fix).
      - Some trivial indentation/variable name changes.
      - Some trivial code simplifications:
        - Replaced some calls to alloc_root + memcpy to use
          strmake_root()/strdup_root().
        - Changed some calls from memdup() to strmake() (Safety fix)
        - Simpler loops in client-simple.c
      
      
      BitKeeper/etc/ignore:
        added libmysqld/ha_ndbcluster_cond.cc
        ---
        added debian/defs.mk debian/control
      client/completion_hash.cc:
        Remove not needed casts
      client/my_readline.h:
        Remove some old types
      client/mysql.cc:
        Simplify types
      client/mysql_upgrade.c:
        Remove some old types
        Update call to dirname_part
      client/mysqladmin.cc:
        Remove some old types
      client/mysqlbinlog.cc:
        Remove some old types
        Change some buffers to be uchar to avoid casts
      client/mysqlcheck.c:
        Remove some old types
      client/mysqldump.c:
        Remove some old types
        Remove some not needed casts
        Change some string lengths to size_t
      client/mysqlimport.c:
        Remove some old types
      client/mysqlshow.c:
        Remove some old types
      client/mysqlslap.c:
        Remove some old types
        Remove some not needed casts
      client/mysqltest.c:
        Removed some old types
        Removed some not needed casts
        Updated hash-get-key function arguments
        Updated parameters to dirname_part()
      client/readline.cc:
        Removed some old types
        Removed some not needed casts
        Changed some string lengths to use size_t
      client/sql_string.cc:
        Removed some old types
      dbug/dbug.c:
        Removed some old types
        Changed some string lengths to use size_t
        Changed some prototypes to avoid casts
      extra/comp_err.c:
        Removed some old types
      extra/innochecksum.c:
        Removed some old types
      extra/my_print_defaults.c:
        Removed some old types
      extra/mysql_waitpid.c:
        Removed some old types
      extra/perror.c:
        Removed some old types
      extra/replace.c:
        Removed some old types
        Updated parameters to dirname_part()
      extra/resolve_stack_dump.c:
        Removed some old types
      extra/resolveip.c:
        Removed some old types
      include/config-win.h:
        Removed some old types
      include/decimal.h:
        Changed binary strings to be uchar* instead of char*
      include/ft_global.h:
        Removed some old types
      include/hash.h:
        Removed some old types
      include/heap.h:
        Removed some old types
        Changed records_under_level to be 'ulong' instead of 'uint' to clarify usage of variable
      include/keycache.h:
        Removed some old types
      include/m_ctype.h:
        Removed some old types
        Changed some string lengths to use size_t
        Changed character length functions to return uint
        unsigned char -> uchar
      include/m_string.h:
        Removed some old types
        Changed some string lengths to use size_t
      include/my_alloc.h:
        Changed some string lengths to use size_t
      include/my_base.h:
        Removed some old types
      include/my_dbug.h:
        Removed some old types
        Changed some string lengths to use size_t
        Changed db_dump() to take uchar * as argument for memory to reduce number of casts in usage
      include/my_getopt.h:
        Removed some old types
      include/my_global.h:
        Removed old types:
        my_size_t -> size_t
        byte -> uchar
        gptr -> uchar *
      include/my_list.h:
        Removed some old types
      include/my_nosys.h:
        Removed some old types
      include/my_pthread.h:
        Removed some old types
      include/my_sys.h:
        Removed some old types
        Changed MY_FILE_ERROR to be in line with new definitions of my_write()/my_read()
        Changed some string lengths to use size_t
        my_malloc() / my_free() now uses void *
        Updated parameters to dirname_part() & my_uncompress()
      include/my_tree.h:
        Removed some old types
      include/my_trie.h:
        Removed some old types
      include/my_user.h:
        Changed some string lengths to use size_t
      include/my_vle.h:
        Removed some old types
      include/my_xml.h:
        Removed some old types
        Changed some string lengths to use size_t
      include/myisam.h:
        Removed some old types
      include/myisammrg.h:
        Removed some old types
      include/mysql.h:
        Removed some old types
        Changed byte streams to use uchar* instead of char*
      include/mysql_com.h:
        Removed some old types
        Changed some string lengths to use size_t
        Changed some buffers to be uchar* to avoid casts
      include/queues.h:
        Removed some old types
      include/sql_common.h:
        Removed some old types
      include/sslopt-longopts.h:
        Removed some old types
      include/violite.h:
        Removed some old types
        Changed some string lengths to use size_t
      libmysql/client_settings.h:
        Removed some old types
      libmysql/libmysql.c:
        Removed some old types
      libmysql/manager.c:
        Removed some old types
      libmysqld/emb_qcache.cc:
        Removed some old types
      libmysqld/emb_qcache.h:
        Removed some old types
      libmysqld/lib_sql.cc:
        Removed some old types
        Removed some not needed casts
        Changed some buffers to be uchar* to avoid casts
        true -> TRUE, false -> FALSE
      mysys/array.c:
        Removed some old types
      mysys/charset.c:
        Changed some string lengths to use size_t
      mysys/checksum.c:
        Include zlib to get definition for crc32
        Removed some old types
      mysys/default.c:
        Removed some old types
        Changed some string lengths to use size_t
      mysys/default_modify.c:
        Changed some string lengths to use size_t
        Removed some not needed casts
      mysys/hash.c:
        Removed some old types
        Changed some string lengths to use size_t
        Note: Prototype of hash_key() has changed which may cause problems if client uses hash_init() with a cast for the hash-get-key function.
        hash_element now takes 'ulong' as the index type (cleanup)
      mysys/list.c:
        Removed some old types
      mysys/mf_cache.c:
        Changed some string lengths to use size_t
      mysys/mf_dirname.c:
        Removed some old types
        Changed some string lengths to use size_t
        Added argument to dirname_part() to avoid calculation of length for 'to'
      mysys/mf_fn_ext.c:
        Removed some old types
        Updated parameters to dirname_part()
      mysys/mf_format.c:
        Removed some old types
        Changed some string lengths to use size_t
      mysys/mf_getdate.c:
        Removed some old types
      mysys/mf_iocache.c:
        Removed some old types
        Changed some string lengths to use size_t
        Changed calculation of 'max_length' to be done the same way in all functions
      mysys/mf_iocache2.c:
        Removed some old types
        Changed some string lengths to use size_t
        Clean up comments
        Removed not needed indentation
      mysys/mf_keycache.c:
        Removed some old types
      mysys/mf_keycaches.c:
        Removed some old types
      mysys/mf_loadpath.c:
        Removed some old types
      mysys/mf_pack.c:
        Removed some old types
        Changed some string lengths to use size_t
        Removed some not needed casts
        Removed very old VMS code
        Updated parameters to dirname_part()
        Use result of dirnam_part() to remove call to strcat()
      mysys/mf_path.c:
        Removed some old types
      mysys/mf_radix.c:
        Removed some old types
      mysys/mf_same.c:
        Removed some old types
      mysys/mf_sort.c:
        Removed some old types
      mysys/mf_soundex.c:
        Removed some old types
      mysys/mf_strip.c:
        Removed some old types
      mysys/mf_tempdir.c:
        Removed some old types
      mysys/mf_unixpath.c:
        Removed some old types
      mysys/mf_wfile.c:
        Removed some old types
      mysys/mulalloc.c:
        Removed some old types
      mysys/my_alloc.c:
        Removed some old types
        Changed some string lengths to use size_t
        Use void* as type for allocated memory area
        Removed some not needed casts
        Changed argument 'Size' to 'length' according coding guidelines
      mysys/my_chsize.c:
        Changed some buffers to be uchar* to avoid casts
      mysys/my_compress.c:
        More comments
        Removed some old types
        Changed string lengths to use size_t
        Changed arguments to my_uncompress() to make them easier to understand
        Changed packfrm()/unpackfrm() to not be depending on uint size (portability fix)
        Changed type of 'pack_data' argument to packfrm() to avoid casts.
      mysys/my_conio.c:
        Changed some string lengths to use size_t
      mysys/my_create.c:
        Removed some old types
      mysys/my_div.c:
        Removed some old types
      mysys/my_error.c:
        Removed some old types
      mysys/my_fopen.c:
        Removed some old types
      mysys/my_fstream.c:
        Removed some old types
        Changed some string lengths to use size_t
        writen -> written
      mysys/my_getopt.c:
        Removed some old types
      mysys/my_getwd.c:
        Removed some old types
        More comments
      mysys/my_init.c:
        Removed some old types
      mysys/my_largepage.c:
        Removed some old types
        Changed some string lengths to use size_t
      mysys/my_lib.c:
        Removed some old types
      mysys/my_lockmem.c:
        Removed some old types
      mysys/my_malloc.c:
        Removed some old types
        Changed malloc(), free() and related functions to use void *
        Changed all functions to use size_t
      mysys/my_memmem.c:
        Indentation cleanup
      mysys/my_once.c:
        Removed some old types
        Changed malloc(), free() and related functions to use void *
      mysys/my_open.c:
        Removed some old types
      mysys/my_pread.c:
        Removed some old types
        Changed all functions to use size_t
        Added comment for how my_pread() / my_pwrite() are supposed to work.
        Removed windows specific code to restore cursor position as this causes slowdown on windows and we should not mix read() and pread() calls anyway as this is not thread safe.
        (If we ever would really need this, it should be enabled only with a flag argument)
      mysys/my_quick.c:
        Removed some old types
        Changed all functions to use size_t
      mysys/my_read.c:
        Removed some old types
        Changed all functions to use size_t
      mysys/my_realloc.c:
        Removed some old types
        Use void* as type for allocated memory area
        Changed all functions to use size_t
      mysys/my_static.c:
        Removed some old types
      mysys/my_static.h:
        Removed some old types
      mysys/my_vle.c:
        Removed some old types
      mysys/my_wincond.c:
        Removed some old types
      mysys/my_windac.c:
        Removed some old types
      mysys/my_write.c:
        Removed some old types
        Changed all functions to use size_t
      mysys/ptr_cmp.c:
        Removed some old types
        Changed all functions to use size_t
      mysys/queues.c:
        Removed some old types
      mysys/safemalloc.c:
        Removed some old types
        Changed malloc(), free() and related functions to use void *
        Changed all functions to use size_t
      mysys/string.c:
        Removed some old types
        Changed all functions to use size_t
      mysys/testhash.c:
        Removed some old types
      mysys/thr_alarm.c:
        Removed some old types
      mysys/thr_lock.c:
        Removed some old types
      mysys/tree.c:
        Removed some old types
      mysys/trie.c:
        Removed some old types
      mysys/typelib.c:
        Removed some old types
      plugin/daemon_example/daemon_example.cc:
        Removed some old types
      regex/reginit.c:
        Removed some old types
      server-tools/instance-manager/buffer.cc:
        Changed some string lengths to use size_t
        Changed buffer to be of type uchar*
      server-tools/instance-manager/buffer.h:
        Changed some string lengths to use size_t
        Changed buffer to be of type uchar*
      server-tools/instance-manager/commands.cc:
        Removed some old types
        Changed some string lengths to use size_t
        Changed buffer to be of type uchar*
      server-tools/instance-manager/instance_map.cc:
        Removed some old types
        Changed some string lengths to use size_t
        Changed buffer to be of type uchar*
      server-tools/instance-manager/instance_options.cc:
        Changed buffer to be of type uchar*
        Replaced alloc_root + strcpy() with strdup_root()
      server-tools/instance-manager/mysql_connection.cc:
        Changed buffer to be of type uchar*
      server-tools/instance-manager/options.cc:
        Removed some old types
      server-tools/instance-manager/parse.cc:
        Changed some string lengths to use size_t
      server-tools/instance-manager/parse.h:
        Removed some old types
        Changed some string lengths to use size_t
      server-tools/instance-manager/protocol.cc:
        Changed some buffers to be uchar* to avoid casts
        Changed some string lengths to use size_t
      server-tools/instance-manager/protocol.h:
        Changed some string lengths to use size_t
      server-tools/instance-manager/user_map.cc:
        Removed some old types
        Changed some string lengths to use size_t
      sql/derror.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Changed some string lengths to use size_t
      sql/discover.cc:
        Changed in readfrm() and writefrom() the type for argument 'frmdata' to uchar** to avoid casts
        Changed some string lengths to use size_t
        Changed some buffers to be uchar* to avoid casts
      sql/event_data_objects.cc:
        Removed some old types
        Added missing casts for alloc() and sprintf()
      sql/event_db_repository.cc:
        Changed some buffers to be uchar* to avoid casts
        Added missing casts for sprintf()
      sql/event_queue.cc:
        Removed some old types
      sql/field.cc:
        Removed some old types
        Changed memory buffers to be uchar*
        Changed some string lengths to use size_t
        Removed a lot of casts
        Safety fix in Field_blob::val_decimal() to not access zero pointer
      sql/field.h:
        Removed some old types
        Changed memory buffers to be uchar* (except of store() as this would have caused too many other changes). 
        Changed some string lengths to use size_t
        Removed some not needed casts
        Changed val_xxx(xxx, new_ptr) to take const pointers
      sql/field_conv.cc:
        Removed some old types
        Added casts required because memory area pointers are now uchar*
      sql/filesort.cc:
        Initalize variable that was used unitialized in error conditions
      sql/gen_lex_hash.cc:
        Removed some old types
        Changed memory buffers to be uchar*
        Changed some string lengths to use size_t
        Removed a lot of casts
        Safety fix in Field_blob::val_decimal() to not access zero pointer
      sql/gstream.h:
        Added required cast
      sql/ha_ndbcluster.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Changed some buffers to be uchar* to avoid casts
        Added required casts
        Removed some not needed casts
      sql/ha_ndbcluster.h:
        Removed some old types
      sql/ha_ndbcluster_binlog.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Replaced sql_alloc() + memcpy() + set end 0 with sql_strmake()
        Changed some string lengths to use size_t
        Added missing casts for alloc() and sprintf()
      sql/ha_ndbcluster_binlog.h:
        Removed some old types
      sql/ha_ndbcluster_cond.cc:
        Removed some old types
        Removed some not needed casts
      sql/ha_ndbcluster_cond.h:
        Removed some old types
      sql/ha_partition.cc:
        Removed some old types
        Changed prototype for change_partition() to avoid casts
      sql/ha_partition.h:
        Removed some old types
      sql/handler.cc:
        Removed some old types
        Changed some string lengths to use size_t
      sql/handler.h:
        Removed some old types
        Changed some string lengths to use size_t
        Changed type for 'frmblob' parameter for discover() and ha_discover() to get fewer casts
      sql/hash_filo.h:
        Removed some old types
        Changed all functions to use size_t
      sql/hostname.cc:
        Removed some old types
      sql/item.cc:
        Removed some old types
        Changed some string lengths to use size_t
        Use strmake() instead of memdup() to create a null terminated string.
        Updated calls to new Field()
      sql/item.h:
        Removed some old types
        Changed malloc(), free() and related functions to use void *
        Changed some buffers to be uchar* to avoid casts
      sql/item_cmpfunc.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      sql/item_cmpfunc.h:
        Removed some old types
      sql/item_create.cc:
        Removed some old types
      sql/item_func.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
        Added test for failing alloc() in init_result_field()
        Remove old confusing comment
        Fixed compiler warning
      sql/item_func.h:
        Removed some old types
      sql/item_row.cc:
        Removed some old types
      sql/item_row.h:
        Removed some old types
      sql/item_strfunc.cc:
        Include zlib (needed becasue we call crc32)
        Removed some old types
      sql/item_strfunc.h:
        Removed some old types
        Changed some types to match new function prototypes
      sql/item_subselect.cc:
        Removed some old types
      sql/item_subselect.h:
        Removed some old types
      sql/item_sum.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
      sql/item_sum.h:
        Removed some old types
      sql/item_timefunc.cc:
        Removed some old types
        Changed some string lengths to use size_t
      sql/item_timefunc.h:
        Removed some old types
      sql/item_xmlfunc.cc:
        Changed some string lengths to use size_t
      sql/item_xmlfunc.h:
        Removed some old types
      sql/key.cc:
        Removed some old types
        Removed some not needed casts
      sql/lock.cc:
        Removed some old types
        Added some cast to my_multi_malloc() arguments for safety
      sql/log.cc:
        Removed some old types
        Changed some string lengths to use size_t
        Changed some buffers to be uchar* to avoid casts
        Changed usage of pwrite() to not assume it holds the cursor position for the file
        Made usage of my_read() safer
      sql/log_event.cc:
        Removed some old types
        Added checking of return value of malloc() in pack_info()
        Changed some buffers to be uchar* to avoid casts
        Removed some 'const' to avoid casts
        Added missing casts for alloc() and sprintf()
        Added required casts
        Removed some not needed casts
        Added some cast to my_multi_malloc() arguments for safety
      sql/log_event.h:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      sql/log_event_old.cc:
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
      sql/log_event_old.h:
        Changed some buffers to be uchar* to avoid casts
      sql/mf_iocache.cc:
        Removed some old types
      sql/my_decimal.cc:
        Changed memory area to use uchar*
      sql/my_decimal.h:
        Changed memory area to use uchar*
      sql/mysql_priv.h:
        Removed some old types
        Changed malloc(), free() and related functions to use void *
        Changed some string lengths to use size_t
        Changed definition of MOD_PAD_CHAR_TO_FULL_LENGTH to avoid long overflow
        Changed some buffers to be uchar* to avoid casts
      sql/mysqld.cc:
        Removed some old types
      sql/net_serv.cc:
        Removed some old types
        Changed some string lengths to use size_t
        Changed some buffers to be uchar* to avoid casts
        Ensure that vio_read()/vio_write() return values are stored in a size_t variable
        Removed some not needed casts
      sql/opt_range.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
      sql/opt_range.h:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      sql/opt_sum.cc:
        Removed some old types
        Removed some not needed casts
      sql/parse_file.cc:
        Removed some old types
        Changed some string lengths to use size_t
        Changed alloc_root + memcpy + set end 0 -> strmake_root()
      sql/parse_file.h:
        Removed some old types
      sql/partition_info.cc:
        Removed some old types
        Added missing casts for alloc()
        Changed some buffers to be uchar* to avoid casts
      sql/partition_info.h:
        Changed some buffers to be uchar* to avoid casts
      sql/protocol.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
      sql/protocol.h:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Changed some string lengths to use size_t
      sql/records.cc:
        Removed some old types
      sql/repl_failsafe.cc:
        Removed some old types
        Changed some string lengths to use size_t
        Added required casts
      sql/rpl_filter.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Changed some string lengths to use size_t
      sql/rpl_filter.h:
        Changed some string lengths to use size_t
      sql/rpl_injector.h:
        Removed some old types
      sql/rpl_record.cc:
        Removed some old types
        Removed some not needed casts
        Changed some buffers to be uchar* to avoid casts
      sql/rpl_record.h:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      sql/rpl_record_old.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
      sql/rpl_record_old.h:
        Removed some old types
        Changed some buffers to be uchar* to avoid cast
      sql/rpl_rli.cc:
        Removed some old types
      sql/rpl_tblmap.cc:
        Removed some old types
      sql/rpl_tblmap.h:
        Removed some old types
      sql/rpl_utility.cc:
        Removed some old types
      sql/rpl_utility.h:
        Removed some old types
        Changed type of m_size from my_size_t to ulong to reflect that m_size is the number of elements in the array, not a string/memory length
      sql/set_var.cc:
        Removed some old types
        Updated parameters to dirname_part()
      sql/set_var.h:
        Removed some old types
      sql/slave.cc:
        Removed some old types
        Changed some string lengths to use size_t
      sql/slave.h:
        Removed some old types
      sql/sp.cc:
        Removed some old types
        Added missing casts for printf()
      sql/sp.h:
        Removed some old types
        Updated hash-get-key function arguments
      sql/sp_cache.cc:
        Removed some old types
        Added missing casts for printf()
        Updated hash-get-key function arguments
      sql/sp_head.cc:
        Removed some old types
        Added missing casts for alloc() and printf()
        Added required casts
        Updated hash-get-key function arguments
      sql/sp_head.h:
        Removed some old types
      sql/sp_pcontext.cc:
        Removed some old types
      sql/sp_pcontext.h:
        Removed some old types
      sql/sql_acl.cc:
        Removed some old types
        Changed some string lengths to use size_t
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
        Added required casts
      sql/sql_analyse.cc:
        Changed some buffers to be uchar* to avoid casts
      sql/sql_analyse.h:
        Changed some buffers to be uchar* to avoid casts
      sql/sql_array.h:
        Removed some old types
      sql/sql_base.cc:
        Removed some old types
        Updated hash-get-key function arguments
      sql/sql_binlog.cc:
        Removed some old types
        Added missing casts for printf()
      sql/sql_cache.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Removed some not needed casts
        Changed some string lengths to use size_t
      sql/sql_cache.h:
        Removed some old types
        Removed reference to not existing function cache_key()
        Updated hash-get-key function arguments
      sql/sql_class.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Added missing casts for alloc()
        Updated hash-get-key function arguments
        Moved THD::max_row_length() to table.cc (as it's not depending on THD)
        Removed some not needed casts
      sql/sql_class.h:
        Removed some old types
        Changed malloc(), free() and related functions to use void *
        Removed some not needed casts
        Changed some string lengths to use size_t
        Moved max_row_length and max_row_length_blob() to table.cc, as they are not depending on THD
      sql/sql_connect.cc:
        Removed some old types
        Added required casts
      sql/sql_db.cc:
        Removed some old types
        Removed some not needed casts
        Added some cast to my_multi_malloc() arguments for safety
        Added missing casts for alloc()
      sql/sql_delete.cc:
        Removed some old types
      sql/sql_handler.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Added some cast to my_multi_malloc() arguments for safety
      sql/sql_help.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
      sql/sql_insert.cc:
        Removed some old types
        Added missing casts for alloc() and printf()
      sql/sql_lex.cc:
        Removed some old types
      sql/sql_lex.h:
        Removed some old types
        Removed some not needed casts
      sql/sql_list.h:
        Removed some old types
        Removed some not needed casts
      sql/sql_load.cc:
        Removed some old types
        Removed compiler warning
      sql/sql_manager.cc:
        Removed some old types
      sql/sql_map.cc:
        Removed some old types
      sql/sql_map.h:
        Removed some old types
      sql/sql_olap.cc:
        Removed some old types
      sql/sql_parse.cc:
        Removed some old types
        Trivial move of code lines to make things more readable
        Changed some string lengths to use size_t
        Added missing casts for alloc()
      sql/sql_partition.cc:
        Removed some old types
        Removed compiler warnings about not used functions
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
      sql/sql_partition.h:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      sql/sql_plugin.cc:
        Removed some old types
        Added missing casts for alloc()
        Updated hash-get-key function arguments
      sql/sql_prepare.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Added missing casts for alloc() and printf()
      sql-common/client.c:
        Removed some old types
        Changed some memory areas to use uchar*
      sql-common/my_user.c:
        Changed some string lengths to use size_t
      sql-common/pack.c:
        Changed some buffers to be uchar* to avoid casts
      sql/sql_repl.cc:
        Added required casts
        Changed some buffers to be uchar* to avoid casts
        Changed some string lengths to use size_t
      sql/sql_select.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Removed some old types
      sql/sql_select.h:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      sql/sql_servers.cc:
        Removed some old types
        Updated hash-get-key function arguments
      sql/sql_show.cc:
        Removed some old types
        Added missing casts for alloc()
        Removed some not needed casts
      sql/sql_string.cc:
        Removed some old types
        Added required casts
      sql/sql_table.cc:
        Removed some old types
        Removed compiler warning about not used variable
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
      sql/sql_test.cc:
        Removed some old types
      sql/sql_trigger.cc:
        Removed some old types
        Added missing casts for alloc()
      sql/sql_udf.cc:
        Removed some old types
        Updated hash-get-key function arguments
      sql/sql_union.cc:
        Removed some old types
      sql/sql_update.cc:
        Removed some old types
        Removed some not needed casts
      sql/sql_view.cc:
        Removed some old types
      sql/sql_yacc.yy:
        Removed some old types
        Changed some string lengths to use size_t
        Added missing casts for alloc()
      sql/stacktrace.c:
        Removed some old types
      sql/stacktrace.h:
        Removed some old types
      sql/structs.h:
        Removed some old types
      sql/table.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Changed some buffers to be uchar* to avoid casts
        Removed setting of LEX_STRING() arguments in declaration
        Added required casts
        More function comments
        Moved max_row_length() here from sql_class.cc/sql_class.h
      sql/table.h:
        Removed some old types
        Changed some string lengths to use size_t
      sql/thr_malloc.cc:
        Use void* as type for allocated memory area
        Changed all functions to use size_t
      sql/tzfile.h:
        Changed some buffers to be uchar* to avoid casts
      sql/tztime.cc:
        Changed some buffers to be uchar* to avoid casts
        Updated hash-get-key function arguments
        Added missing casts for alloc()
        Removed some not needed casts
      sql/uniques.cc:
        Removed some old types
        Removed some not needed casts
      sql/unireg.cc:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
        Removed some not needed casts
        Added missing casts for alloc()
      storage/archive/archive_reader.c:
        Removed some old types
      storage/archive/azio.c:
        Removed some old types
        Removed some not needed casts
      storage/archive/ha_archive.cc:
        Removed some old types
        Changed type for 'frmblob' in archive_discover() to match handler
        Updated hash-get-key function arguments
        Removed some not needed casts
      storage/archive/ha_archive.h:
        Removed some old types
      storage/blackhole/ha_blackhole.cc:
        Removed some old types
      storage/blackhole/ha_blackhole.h:
        Removed some old types
      storage/csv/ha_tina.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Changed some buffers to be uchar* to avoid casts
      storage/csv/ha_tina.h:
        Removed some old types
        Removed some not needed casts
      storage/csv/transparent_file.cc:
        Removed some old types
        Changed type of 'bytes_read' to be able to detect read errors
        Fixed indentation
      storage/csv/transparent_file.h:
        Removed some old types
      storage/example/ha_example.cc:
        Removed some old types
        Updated hash-get-key function arguments
      storage/example/ha_example.h:
        Removed some old types
      storage/federated/ha_federated.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Removed some not needed casts
      storage/federated/ha_federated.h:
        Removed some old types
      storage/heap/_check.c:
        Changed some buffers to be uchar* to avoid casts
      storage/heap/_rectest.c:
        Removed some old types
      storage/heap/ha_heap.cc:
        Removed some old types
      storage/heap/ha_heap.h:
        Removed some old types
      storage/heap/heapdef.h:
        Removed some old types
      storage/heap/hp_block.c:
        Removed some old types
        Changed some string lengths to use size_t
      storage/heap/hp_clear.c:
        Removed some old types
      storage/heap/hp_close.c:
        Removed some old types
      storage/heap/hp_create.c:
        Removed some old types
      storage/heap/hp_delete.c:
        Removed some old types
      storage/heap/hp_hash.c:
        Removed some old types
      storage/heap/hp_info.c:
        Removed some old types
      storage/heap/hp_open.c:
        Removed some old types
      storage/heap/hp_rfirst.c:
        Removed some old types
      storage/heap/hp_rkey.c:
        Removed some old types
      storage/heap/hp_rlast.c:
        Removed some old types
      storage/heap/hp_rnext.c:
        Removed some old types
      storage/heap/hp_rprev.c:
        Removed some old types
      storage/heap/hp_rrnd.c:
        Removed some old types
      storage/heap/hp_rsame.c:
        Removed some old types
      storage/heap/hp_scan.c:
        Removed some old types
      storage/heap/hp_test1.c:
        Removed some old types
      storage/heap/hp_test2.c:
        Removed some old types
      storage/heap/hp_update.c:
        Removed some old types
      storage/heap/hp_write.c:
        Removed some old types
        Changed some string lengths to use size_t
      storage/innobase/handler/ha_innodb.cc:
        Removed some old types
        Updated hash-get-key function arguments
        Added missing casts for alloc() and printf()
        Removed some not needed casts
      storage/innobase/handler/ha_innodb.h:
        Removed some old types
      storage/myisam/ft_boolean_search.c:
        Removed some old types
      storage/myisam/ft_nlq_search.c:
        Removed some old types
      storage/myisam/ft_parser.c:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      storage/myisam/ft_static.c:
        Removed some old types
      storage/myisam/ft_stopwords.c:
        Removed some old types
      storage/myisam/ft_update.c:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      storage/myisam/ftdefs.h:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      storage/myisam/fulltext.h:
        Removed some old types
      storage/myisam/ha_myisam.cc:
        Removed some old types
      storage/myisam/ha_myisam.h:
        Removed some old types
      storage/myisam/mi_cache.c:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      storage/myisam/mi_check.c:
        Removed some old types
      storage/myisam/mi_checksum.c:
        Removed some old types
      storage/myisam/mi_close.c:
        Removed some old types
      storage/myisam/mi_create.c:
        Removed some old types
      storage/myisam/mi_delete.c:
        Removed some old types
      storage/myisam/mi_delete_all.c:
        Removed some old types
      storage/myisam/mi_dynrec.c:
        Removed some old types
      storage/myisam/mi_extra.c:
        Removed some old types
      storage/myisam/mi_key.c:
        Removed some old types
      storage/myisam/mi_locking.c:
        Removed some old types
      storage/myisam/mi_log.c:
        Removed some old types
      storage/myisam/mi_open.c:
        Removed some old types
        Removed some not needed casts
        Check argument of my_write()/my_pwrite() in functions returning int
        Added casting of string lengths to size_t
      storage/myisam/mi_packrec.c:
        Removed some old types
        Changed some buffers to be uchar* to avoid casts
      storage/myisam/mi_page.c:
        Removed some old types
      storage/myisam/mi_preload.c:
        Removed some old types
      storage/myisam/mi_range.c:
        Removed some old types
      storage/myisam/mi_rfirst.c:
        Removed some old types
      storage/myisam/mi_rkey.c:
        Removed some old types
      storage/myisam/mi_rlast.c:
        Removed some old types
      storage/myisam/mi_rnext.c:
        Removed some old types
      storage/myisam/mi_rnext_same.c:
        Removed some old types
      storage/myisam/mi_rprev.c:
        Removed some old types
      storage/myisam/mi_rrnd.c:
        Removed some old types
      storage/myisam/mi_rsame.c:
        Removed some old types
      storage/myisam/mi_rsamepos.c:
        Removed some old types
      storage/myisam/mi_scan.c:
        Removed some old types
      storage/myisam/mi_search.c:
        Removed some old types
      storage/myisam/mi_static.c:
        Removed some old types
      storage/myisam/mi_statrec.c:
        Removed some old types
      storage/myisam/mi_test1.c:
        Removed some old types
      storage/myisam/mi_test2.c:
        Removed some old types
      storage/myisam/mi_test3.c:
        Removed some old types
      storage/myisam/mi_unique.c:
        Removed some old types
      storage/myisam/mi_update.c:
        Removed some old types
      storage/myisam/mi_write.c:
        Removed some old types
      storage/myisam/myisam_ftdump.c:
        Removed some old types
      storage/myisam/myisamchk.c:
        Removed some old types
      storage/myisam/myisamdef.h:
        Removed some old types
      storage/myisam/myisamlog.c:
        Removed some old types
        Indentation fix
      storage/myisam/myisampack.c:
        Removed some old types
      storage/myisam/rt_index.c:
        Removed some old types
      storage/myisam/rt_split.c:
        Removed some old types
      storage/myisam/sort.c:
        Removed some old types
      storage/myisam/sp_defs.h:
        Removed some old types
      storage/myisam/sp_key.c:
        Removed some old types
      storage/myisammrg/ha_myisammrg.cc:
        Removed some old types
      storage/myisammrg/ha_myisammrg.h:
        Removed some old types
      storage/myisammrg/myrg_close.c:
        Removed some old types
      storage/myisammrg/myrg_def.h:
        Removed some old types
      storage/myisammrg/myrg_delete.c:
        Removed some old types
      storage/myisammrg/myrg_open.c:
        Removed some old types
        Updated parameters to dirname_part()
      storage/myisammrg/myrg_queue.c:
        Removed some old types
      storage/myisammrg/myrg_rfirst.c:
        Removed some old types
      storage/myisammrg/myrg_rkey.c:
        Removed some old types
      storage/myisammrg/myrg_rlast.c:
        Removed some old types
      storage/myisammrg/myrg_rnext.c:
        Removed some old types
      storage/myisammrg/myrg_rnext_same.c:
        Removed some old types
      storage/myisammrg/myrg_rprev.c:
        Removed some old types
      storage/myisammrg/myrg_rrnd.c:
        Removed some old types
      storage/myisammrg/myrg_rsame.c:
        Removed some old types
      storage/myisammrg/myrg_update.c:
        Removed some old types
      storage/myisammrg/myrg_write.c:
        Removed some old types
      storage/ndb/include/util/ndb_opts.h:
        Removed some old types
      storage/ndb/src/cw/cpcd/main.cpp:
        Removed some old types
      storage/ndb/src/kernel/vm/Configuration.cpp:
        Removed some old types
      storage/ndb/src/mgmclient/main.cpp:
        Removed some old types
      storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Removed some old types
        Removed old disabled code
      storage/ndb/src/mgmsrv/main.cpp:
        Removed some old types
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Removed some old types
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        Removed not used variable
      storage/ndb/src/ndbapi/NdbOperationInt.cpp:
        Added required casts
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Added required casts
      storage/ndb/tools/delete_all.cpp:
        Removed some old types
      storage/ndb/tools/desc.cpp:
        Removed some old types
      storage/ndb/tools/drop_index.cpp:
        Removed some old types
      storage/ndb/tools/drop_tab.cpp:
        Removed some old types
      storage/ndb/tools/listTables.cpp:
        Removed some old types
      storage/ndb/tools/ndb_config.cpp:
        Removed some old types
      storage/ndb/tools/restore/consumer_restore.cpp:
        Changed some buffers to be uchar* to avoid casts with new defintion of packfrm()
      storage/ndb/tools/restore/restore_main.cpp:
        Removed some old types
      storage/ndb/tools/select_all.cpp:
        Removed some old types
      storage/ndb/tools/select_count.cpp:
        Removed some old types
      storage/ndb/tools/waiter.cpp:
        Removed some old types
      strings/bchange.c:
        Changed function to use uchar * and size_t
      strings/bcmp.c:
        Changed function to use uchar * and size_t
      strings/bmove512.c:
        Changed function to use uchar * and size_t
      strings/bmove_upp.c:
        Changed function to use uchar * and size_t
      strings/ctype-big5.c:
        Changed functions to use size_t
        Changed character length functions to return uint
      strings/ctype-bin.c:
        Changed functions to use size_t
      strings/ctype-cp932.c:
        Changed functions to use size_t
        Changed character length functions to return uint
      strings/ctype-czech.c:
        Fixed indentation
        Changed functions to use size_t
      strings/ctype-euc_kr.c:
        Changed functions to use size_t
        Changed character length functions to return uint
      strings/ctype-eucjpms.c:
        Changed functions to use size_t
        Changed character length functions to return uint
        unsigned char -> uchar
      strings/ctype-gb2312.c:
        Changed functions to use size_t
        Changed character length functions to return uint
      strings/ctype-gbk.c:
        Changed functions to use size_t
        Changed character length functions to return uint
      strings/ctype-latin1.c:
        Changed functions to use size_t
        Changed character length functions to return uint
        unsigned char -> uchar
      strings/ctype-mb.c:
        Changed functions to use size_t
        Changed character length functions to return uint
      strings/ctype-simple.c:
        Changed functions to use size_t
        Simpler loops for caseup/casedown
        unsigned int -> uint
        unsigned char -> uchar
      strings/ctype-sjis.c:
        Changed functions to use size_t
        Changed character length functions to return uint
      strings/ctype-tis620.c:
        Changed functions to use size_t
        Changed character length functions to return uint
        unsigned char -> uchar
      strings/ctype-uca.c:
        Changed functions to use size_t
        unsigned char -> uchar
      strings/ctype-ucs2.c:
        Moved inclusion of stdarg.h to other includes
        usigned char -> uchar
        Changed functions to use size_t
        Changed character length functions to return uint
      strings/ctype-ujis.c:
        Changed functions to use size_t
        Changed character length functions to return uint
        unsigned char -> uchar
      strings/ctype-utf8.c:
        Changed functions to use size_t
        unsigned char -> uchar
        Indentation fixes
      strings/ctype-win1250ch.c:
        Indentation fixes
        Changed functions to use size_t
      strings/ctype.c:
        Changed functions to use size_t
      strings/decimal.c:
        Changed type for memory argument to uchar *
      strings/do_ctype.c:
        Indentation fixes
      strings/my_strtoll10.c:
        unsigned char -> uchar
      strings/my_vsnprintf.c:
        Changed functions to use size_t
      strings/r_strinstr.c:
        Removed some old types
        Changed functions to use size_t
      strings/str_test.c:
        Removed some old types
      strings/strappend.c:
        Changed functions to use size_t
      strings/strcont.c:
        Removed some old types
      strings/strfill.c:
        Removed some old types
      strings/strinstr.c:
        Changed functions to use size_t
      strings/strlen.c:
        Changed functions to use size_t
      strings/strmake.c:
        Changed functions to use size_t
      strings/strnlen.c:
        Changed functions to use size_t
      strings/strnmov.c:
        Changed functions to use size_t
      strings/strto.c:
        unsigned char -> uchar
      strings/strtod.c:
        Changed functions to use size_t
      strings/strxnmov.c:
        Changed functions to use size_t
      strings/xml.c:
        Changed functions to use size_t
        Indentation fixes
      tests/mysql_client_test.c:
        Removed some old types
      tests/thread_test.c:
        Removed some old types
      vio/test-ssl.c:
        Removed some old types
      vio/test-sslclient.c:
        Removed some old types
      vio/test-sslserver.c:
        Removed some old types
      vio/vio.c:
        Removed some old types
      vio/vio_priv.h:
        Removed some old types
        Changed vio_read()/vio_write() to work with size_t
      vio/viosocket.c:
        Changed vio_read()/vio_write() to work with size_t
        Indentation fixes
      vio/viossl.c:
        Changed vio_read()/vio_write() to work with size_t
        Indentation fixes
      vio/viosslfactories.c:
        Removed some old types
      vio/viotest-ssl.c:
        Removed some old types
      win/README:
        More explanations
      f252f924
  21. 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
  22. 19 Dec, 2006 1 commit
    • unknown's avatar
      Fix for BUG#24293: '\Z' token is not handled correctly in views. · b66ab7f8
      unknown authored
      If SELECT-part of CREATE VIEW statement contains '\Z',
      it is not handled correctly.
      
      The problem was in String::print().
      Symbol with code 032 (26) is replaced with '\z',
      which is not supported by the lexer.
      
      The fix is to replace the symbol with '\Z'.
      
      
      mysql-test/r/view.result:
        Update result file.
      mysql-test/t/view.test:
        Add test case for BUG#24293.
      sql/sql_string.cc:
        We should replace 032 with \Z, since lexer does not understand \z.
      b66ab7f8
  23. 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
  24. 30 Oct, 2006 1 commit
    • unknown's avatar
      Bug#18908: ERROR 1406 (22001): Data too long for column :: using utf8 · 00c1c19e
      unknown authored
      Problem: Too confusing error message when cannot convert
      between string and column character sets on INSERT and UPDATE.
      Fix: producing a better error message, instead of "Data too long"
      in such cases
      Additional changes: Adding "DROP TABLE IF EXISTS" into several
      tests to be safe against failures in previous tests. 
      
      
      mysql-test/include/strict_autoinc.inc:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/ctype_recoding.result:
        Fixing test results
      mysql-test/r/ctype_utf8.result:
        Fixing test results
      mysql-test/r/fulltext.result:
        Fixing test results
      mysql-test/r/strict_autoinc_1myisam.result:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/strict_autoinc_2innodb.result:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/strict_autoinc_3heap.result:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/strict_autoinc_4bdb.result:
        Adding DROP TABLE to be safe against previous tests failure.
      mysql-test/r/strict_autoinc_5ndb.result:
        Adding DROP TABLE to be safe against previous tests failure.
      sql/field.cc:
        - producing better error messages than
          "DATA TRUNCATED" or "DATA TOO LONG" (in strict mode)
          in case of "not well formed source" and
          "cannot convert to field character set"
        - Performance improvements: copying directly to
          the target, instead of using an intermediate
          String.
        - Moving duplicate code into report_data_too_long() function.
      sql/sql_string.cc:
        Adding a new function to convert strings between character sets,
        but not more than "nchar" characters - a helper function for
        Field_string::store(), Field_varstring::store() and Field_blob::store().
      sql/sql_string.h:
        Adding new function prototype.
      00c1c19e
  25. 04 Sep, 2006 2 commits
    • unknown's avatar
      Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver. · 52f3977e
      unknown authored
      Variable character_set_results can legally be NULL (for "no conversion.")
      This could result in a NULL deref that crashed the server.  Fixed.
      
      (Although ran some additional precursory tests to see whether I could break
      anything else, but no breakage so far.)
      
      
      mysql-test/r/func_time.result:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Prove DATE_FORMAT() no longer crashes the server when character_set_results is
        NULL (which is a legal value and means, "no conversion").
      mysql-test/t/func_time.test:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Prove DATE_FORMAT() no longer crashes the server when character_set_results is
        NULL (which is a legal value and means, "no conversion").
      sql/sql_string.cc:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Avoid NULL deref in my_charset_same() -- if !to_cs, we won't need to compare
        because it is magic for, "no conversion."
      52f3977e
    • unknown's avatar
      Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver. · 61718995
      unknown authored
      Variable character_set_results can legally be NULL (for "no conversion.")
      This could result in a NULL deref that crashed the server.  Fixed.
      
      (Although ran some additional precursory tests to see whether I could break
      anything else, but no breakage so far.)
      
      
      mysql-test/r/func_time.result:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Prove DATE_FORMAT() no longer crashes the server when character_set_results is
        NULL (which is a legal value and means, "no conversion").
      mysql-test/t/func_time.test:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Prove DATE_FORMAT() no longer crashes the server when character_set_results is
        NULL (which is a legal value and means, "no conversion").
      sql/sql_string.cc:
        Bug#21913: DATE_FORMAT() Crashes mysql server if I use it through mysql-connector-j driver.
        
        Avoid NULL deref in my_charset_same() -- if !to_cs, we won't need to compare
        because it is magic for, "no conversion."
      61718995
  26. 19 Jun, 2006 1 commit
    • unknown's avatar
      unsigned char -> uchar · 4b316e6f
      unknown authored
      Added missing copyright
      Indentation and prototype fixes
      Fixed compiler warning
      
      
      include/my_sys.h:
        Fix prototype for my_print_open_files.
        Indentation fixes
      mysys/mf_keycache.c:
        Fix that key cache can be compiled without #define THREAD
      mysys/my_error.c:
        Indentation cleanups
      mysys/my_memmem.c:
        Added missing copyright.
        Fix include files
      sql/event.cc:
        unsigned char -> uchar
      sql/field.cc:
        unsigned char -> uchar
      sql/filesort.cc:
        Indentation fix
      sql/ha_ndbcluster.cc:
        unsigned char -> uchar
      sql/ha_ndbcluster_binlog.cc:
        unsigned char -> uchar
      sql/item_strfunc.cc:
        unsigned char -> uchar
      sql/log_event.cc:
        unsigned char -> uchar
      sql/opt_range.cc:
        Indentation fixes
      sql/sql_crypt.cc:
        unsigned char -> uchar
      sql/sql_string.cc:
        unsigned char -> uchar
      sql/tztime.cc:
        unsigned char -> uchar
      storage/heap/hp_extra.c:
        Clear also next_block (See heap_scan_init)
      storage/heap/hp_test2.c:
        Set required struct memeber max_table_size
        (Fixes that hp_test2 works again)
      storage/myisam/mi_rsamepos.c:
        Fixed bug in mi_rsame_with_pos
      strings/decimal.c:
        Fixed compiler warning
      4b316e6f
  27. 16 Jun, 2006 1 commit
  28. 14 Jun, 2006 1 commit
  29. 02 May, 2006 1 commit
    • unknown's avatar
      Fix spelling in comments as requested by Osku · e8770dfe
      unknown authored
      This will make charset code easier to understand
      
      
      include/m_ctype.h:
        Fix spelling in comments
      mysql-test/t/cast.test:
        Fix spelling in comments
      mysql-test/t/query_cache.test:
        Fix spelling in comments
      sql/sql_string.cc:
        Fix spelling in comments
      strings/CHARSET_INFO.txt:
        Fix spelling in comments
      e8770dfe
  30. 12 Dec, 2005 1 commit
    • unknown's avatar
      Bug#15375 Unassigned multibyte codes are broken · a464e017
      unknown authored
        into parts when converting to Unicode.
      m_ctype.h:
        Reorganizing mb_wc return codes to be able
        to return "an unassigned N-byte-long character".
      sql_string.cc:
        Adding code to detect and properly handle
        unassigned characters (i.e. the those character
        which are correctly formed according to the 
        character specifications, but don't have Unicode
        mapping).
      Many files:
        Fixing conversion function to return new codes.
      ctype_ujis.test, ctype_gbk.test, ctype_big5.test:
        Adding a test case.
      ctype_ujis.result, ctype_gbk.result, ctype_big5.result:
        Fixing results accordingly.
      
      
      include/m_ctype.h:
        Reorganizing mb_wc return codes to be able
        to return "an unassigned N-byte long character".
        Bug#15375 Unassigned multibyte codes are broken into parts when converting to Unicode.
      mysql-test/r/ctype_big5.result:
        Fixing results accordingly.
      mysql-test/r/ctype_gbk.result:
        Fixing results accordingly.
      mysql-test/r/ctype_ujis.result:
        Fixing results accordingly.
      mysql-test/t/ctype_big5.test:
        Adding a test case.
      mysql-test/t/ctype_gbk.test:
        Adding a test case.
      mysql-test/t/ctype_ujis.test:
        Adding a test case.
      sql/sql_string.cc:
        Adding code to detect and properly hanlde
        unassigned characters (i.e. the those character
        which are correctly formed according to the 
        character specifications, but don't have Unicode
        mapping).
      strings/ctype-big5.c:
        Fixing conversion function to return new codes.
      strings/ctype-bin.c:
        Fixing conversion function to return new codes.
      strings/ctype-cp932.c:
        Fixing conversion function to return new codes.
      strings/ctype-euc_kr.c:
        Fixing conversion function to return new codes.
      strings/ctype-gb2312.c:
        Fixing conversion function to return new codes.
      strings/ctype-gbk.c:
        Fixing conversion function to return new codes.
      strings/ctype-latin1.c:
        Fixing conversion function to return new codes.
      strings/ctype-simple.c:
        Fixing conversion function to return new codes.
      strings/ctype-sjis.c:
        Fixing conversion function to return new codes.
      strings/ctype-tis620.c:
        Fixing conversion function to return new codes.
      strings/ctype-ucs2.c:
        Fixing conversion function to return new codes.
      strings/ctype-ujis.c:
        Fixing conversion function to return new codes.
      strings/ctype-utf8.c:
        Fixing conversion function to return new codes.
      a464e017
  31. 20 Nov, 2005 1 commit
    • unknown's avatar
      Inefficient usage of String::append() fixed. · fe63e095
      unknown authored
      Bad examples of usage of a string with its length fixed.
      The incorrect length in the trigger file configuration descriptor
        fixed (BUG#14090).
      A hook for unknown keys added to the parser to support old .TRG files.
      
      
      sql/field.cc:
        Inefficient usage of String::append() fixed.
        Bad examples of usage of a string with its length fixed.
      sql/ha_berkeley.cc:
        A bad example of usage of a string with its length fixed.
      sql/ha_federated.cc:
        Inefficient usage of String::append() fixed.
      sql/ha_myisammrg.cc:
        Bad examples of usage of a string with its length fixed.
      sql/handler.cc:
        Inefficient usage of String::append() fixed.
      sql/item.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item.h:
        A bad example of usage of a string with its length fixed.
      sql/item_cmpfunc.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item_func.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item_strfunc.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item_subselect.cc:
        Bad examples of usage of a string with its length fixed.
      sql/item_sum.cc:
        Bad examples of usage of a string with its length fixed.
        Inefficient usage of String::append() fixed.
      sql/item_timefunc.cc:
        Inefficient using of String::append() fixed.
        Bad examples of usage of a string with its length fixed.
      sql/item_uniq.h:
        Bad examples of usage of a string with its length fixed.
      sql/key.cc:
        Bad examples of usage of a string with its length fixed.
      sql/log.cc:
        Bad examples of usage of a string with its length fixed.
      sql/log_event.cc:
        Bad examples of usage of a string with its length fixed.
      sql/mysqld.cc:
        The dummy parser hook allocated.
      sql/opt_range.cc:
        Inefficient usage of String::append() fixed.
      sql/parse_file.cc:
        Bad examples of usage of a string with its length fixed.
        A hook for unknown keys added to the parser.
      sql/parse_file.h:
        A hook for unknown keys added to the parser.
      sql/protocol.cc:
        A bad example of usage of a string with its length fixed.
      sql/repl_failsafe.cc:
        Bad examples of usage of a string with its length fixed.
      sql/share/errmsg.txt:
        A warning for old format config file.
      sql/slave.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sp.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sp_head.cc:
        Bad examples of usage of a string with its length fixed.
      sql/spatial.cc:
        A bad example of usage of a string with its length fixed.
      sql/sql_acl.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_analyse.cc:
        Bad examples of usage of a string with its length fixed.
        Inefficient usage of String::append() fixed.
      sql/sql_lex.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_load.cc:
        A bad example of usage of a string with its length fixed.
      sql/sql_parse.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_prepare.cc:
        A bad example of usage of a string with its length fixed.
      sql/sql_select.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_show.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_string.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_string.h:
        The macro definition moved to sql_string.h to
          be accessible in all parts of server.
      sql/sql_table.cc:
        Bad examples of usage of a string with its length fixed.
      sql/sql_trigger.cc:
        Bad examples of usage of a string with its length fixed.
        The incorrect length in the trigger file configuration descriptor
          fixed (BUG#14090).
        The hook for processing incorrect sql_mode record added.
      sql/sql_view.cc:
        A dummy  hook used for parsing views.
      sql/structs.h:
        The macro definition moved to sql_string.h to be
          accessible in all parts of server.
      sql/table.cc:
        A bad example of usage of a string with its length fixed.
      sql/tztime.cc:
        A bad example of usage of a string with its length fixed.
      fe63e095
  32. 05 Jun, 2005 1 commit
  33. 03 Jun, 2005 1 commit
    • unknown's avatar
      Move USE_PRAGMA_IMPLEMENTATION to proper place · 72dd44b9
      unknown authored
      Ensure that 'null_value' is not accessed before val() is called in FIELD() functions
      Fixed initialization of key maps. This fixes some problems with keys when you have more than 64 keys
      Fixed that ROLLUP don't always create a temporary table. This fix ensures that func_gconcat.test results are now predictable
      
      
      mysql-test/r/func_gconcat.result:
        Move innodb specific test to innodb.test
        Changed table name r2 -> t2
        More test to see how ROLLUP was optimized
      mysql-test/r/innodb.result:
        Moved test here form func_gconcat
      mysql-test/r/olap.result:
        New test results after optimization
      mysql-test/t/func_gconcat.test:
        Move innodb specific test to innodb.test
        Changed table name r2 -> t2
        More test to see how ROLLUP was optimized
      mysql-test/t/innodb.test:
        Moved test here form func_gconcat
      sql/field.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_berkeley.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_blackhole.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_heap.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_innodb.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_isam.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_isammrg.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_myisam.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_myisammrg.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_ndbcluster.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/handler.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/hash_filo.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_cmpfunc.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_func.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
        Ensure that 'null_value' is not accessed before val() is called
      sql/item_geofunc.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_strfunc.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_subselect.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_sum.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_timefunc.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_uniq.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/log_event.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/mysql_priv.h:
        Change key_map_full to not be const as we are giving it a proper value on startup
      sql/mysqld.cc:
        Move key_map variables here and initialize key_map_full properly
      sql/opt_range.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/opt_range.h:
        Fix that test_quick_select() works with any ammount of keys
      sql/procedure.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/protocol.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/protocol_cursor.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/set_var.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_analyse.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_class.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_crypt.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_insert.cc:
        Fixed that max_rows is ulong
      sql/sql_list.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_map.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_olap.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_select.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
        Fixed that ROLLUP don't have to always create a temporary table
        Added new argument to remove_const() to make above possible
        Fixed some errors that creapt up when we don't always do a temporary table for ROLLUP
      sql/sql_string.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_table.cc:
        Simple optimizations
        Fixed wrong checking of build_table_path() in undef-ed code
      sql/sql_udf.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_yacc.yy:
        removed extra {}
      72dd44b9
  34. 02 Jun, 2005 1 commit
    • unknown's avatar
      tztime.cc: · cee10f97
      unknown authored
        Set #pragma implementation" earlier
      Many files:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      
      
      client/sql_string.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      mysys/raid.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/field.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_berkeley.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_blackhole.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_heap.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_innodb.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_isam.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_isammrg.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_myisam.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_myisammrg.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/ha_ndbcluster.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/handler.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/hash_filo.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item_cmpfunc.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item_func.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item_geofunc.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item_strfunc.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item_subselect.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item_sum.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item_timefunc.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/item_uniq.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/log_event.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/opt_range.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/procedure.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/protocol.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/protocol_cursor.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/set_var.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_analyse.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_class.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_crypt.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_list.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_map.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_olap.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/examples/ha_archive.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_select.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_string.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/sql_udf.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/examples/ha_example.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/examples/ha_tina.cc:
        Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
      sql/tztime.cc:
        Set #pragma implementation" earlier
      cee10f97
  35. 26 May, 2005 1 commit
    • unknown's avatar
      Add ifdefs to control when "#pragma implementation" should be used · 22944a95
      unknown authored
      Added some more ifdefs for "#pragma interface"
      
      
      client/sql_string.cc:
        USE_PRAGMA_IMPLEMENTATION
      client/sql_string.h:
        USE_PRAGMA_INTERFACE
      include/my_global.h:
        Use pragma implementation for gcc pre version 3
      mysys/raid.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/field.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_berkeley.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_blackhole.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_heap.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_innodb.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_isam.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_isammrg.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_myisam.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_myisammrg.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/ha_ndbcluster.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/handler.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/hash_filo.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_cmpfunc.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_func.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_geofunc.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_strfunc.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_subselect.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_sum.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_timefunc.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_uniq.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/item_uniq.h:
        USE_PRAGMA_INTERFACE
      sql/log_event.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/log_event.h:
        USE_PRAGMA_INTERFACE
      sql/opt_range.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/procedure.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/protocol.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/protocol_cursor.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/set_var.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_analyse.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_analyse.h:
        USE_PRAGMA_INTERFACE
      sql/sql_class.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_crypt.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_crypt.h:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_list.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_map.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_map.h:
        USE_PRAGMA_INTERFACE
      sql/sql_olap.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_select.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_string.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/sql_udf.cc:
        USE_PRAGMA_IMPLEMENTATION
      sql/tztime.cc:
        USE_PRAGMA_IMPLEMENTATION
      22944a95
  36. 16 Mar, 2005 1 commit
    • unknown's avatar
      Cleanup during reviews · 284b8b8b
      unknown authored
      Removed some optional arguments
      Fixed portability problem in federated tests
      
      
      client/sql_string.cc:
        update from sql/sql_string.cc
      client/sql_string.h:
        update from sql/sql_string.h
      mysql-test/r/federated.result:
        Fixed error message
      sql/field.cc:
        Cleanup during review
        Remove const in 'const unsigned int'
      sql/field.h:
        Remove const in 'const unsigned int'
      sql/ha_federated.cc:
        Better error string.  Add missing argument to error (before 'errno' was picked up from stack)
      sql/handler.cc:
        Removed compiler warning
      sql/item_func.cc:
        Cleanup during review
      sql/item_sum.cc:
        Cleanup during review
      sql/lock.cc:
        Remove optional arguments
      sql/log_event.cc:
        Remove optional arguments
      sql/mysql_priv.h:
        Remove optional arguments
        cahnge preapre_create_fields to use pointers instead of references
      sql/opt_range.cc:
        Fix arguments so that return value is last
      sql/sql_base.cc:
        Remove optional arguments
      sql/sql_delete.cc:
        Remove optional arguments
      sql/sql_error.cc:
        Remove optional arguments
      sql/sql_help.cc:
        Remove optional arguments
      sql/sql_parse.cc:
        Remove optional arguments
      sql/sql_prepare.cc:
        Remove optional arguments
      sql/sql_rename.cc:
        Remove optional arguments
      sql/sql_select.cc:
        Remove optional arguments
      sql/sql_show.cc:
        Cleanup during review
      sql/sql_string.cc:
        Simple optimization
      sql/sql_table.cc:
        Remove optional arguments
        Fixed indentation
      sql/sql_update.cc:
        Remove optional arguments
      sql/sql_yacc.yy:
        Change references to pointers
      284b8b8b
  37. 06 Dec, 2004 1 commit
    • unknown's avatar
      Add support for up to VARCHAR (size up to 65535) · a8ea31fa
      unknown authored
      Renamed HA_VAR_LENGTH to HA_VAR_LENGTH_PART
      Renamed in all files FIELD_TYPE_STRING and FIELD_TYPE_VAR_STRING to MYSQL_TYPE_STRING and MYSQL_TYPE_VAR_STRING to make it easy to catch all possible errors
      Added support for VARCHAR KEYS to heap
      Removed support for ISAM
      Now only long VARCHAR columns are changed to TEXT on demand (not CHAR)
      Internal temporary files can now use fixed length tables if the used VARCHAR columns are short
      
      
      BitKeeper/deleted/.del-ha_isam.cc~4dce65904db2675e:
        Delete: sql/ha_isam.cc
      BitKeeper/deleted/.del-_cache.c~b5d80b5c3ae233b1:
        Delete: isam/_cache.c
      BitKeeper/deleted/.del-_dbug.c~88d7964ae5e3c9bd:
        Delete: isam/_dbug.c
      BitKeeper/deleted/.del-_dynrec.c~48dd758f5a5450df:
        Delete: isam/_dynrec.c
      BitKeeper/deleted/.del-_key.c~ce62d47a6c681084:
        Delete: isam/_key.c
      BitKeeper/deleted/.del-_locking.c~dea4cdc6ea425c67:
        Delete: isam/_locking.c
      BitKeeper/deleted/.del-_packrec.c~47ae1b16c007e9be:
        Delete: isam/_packrec.c
      BitKeeper/deleted/.del-_page.c~148b1a613d052ee8:
        Delete: isam/_page.c
      BitKeeper/deleted/.del-_search.c~f509292aa1ff18ff:
        Delete: isam/_search.c
      BitKeeper/deleted/.del-_statrec.c~58d9263b3475d58b:
        Delete: isam/_statrec.c
      BitKeeper/deleted/.del-changed.c~d075de80a314b02d:
        Delete: isam/changed.c
      BitKeeper/deleted/.del-close.c~fd62629496ee5bcc:
        Delete: isam/close.c
      BitKeeper/deleted/.del-create.c~96cecc433c0c2242:
        Delete: isam/create.c
      BitKeeper/deleted/.del-delete.c~65ee8daaa75a14b6:
        Delete: isam/delete.c
      BitKeeper/deleted/.del-extra.c~706f29d72beb2565:
        Delete: isam/extra.c
      BitKeeper/deleted/.del-info.c~96cfb747af8da0d:
        Delete: isam/info.c
      BitKeeper/deleted/.del-isamchk.c~c0f59c2687d2248f:
        Delete: isam/isamchk.c
      BitKeeper/deleted/.del-isamlog.c~85b6b31c6e2b8519:
        Delete: isam/isamlog.c
      BitKeeper/deleted/.del-log.c~55a973013d55cade:
        Delete: isam/log.c
      BitKeeper/deleted/.del-open.c~95b3b75042fae00a:
        Delete: isam/open.c
      BitKeeper/deleted/.del-pack_isam.c~43801f0df7504834:
        Delete: isam/pack_isam.c
      BitKeeper/deleted/.del-panic.c~f7fd71605324f8f3:
        Delete: isam/panic.c
      BitKeeper/deleted/.del-range.c~142f1f8ac4948082:
        Delete: isam/range.c
      BitKeeper/deleted/.del-rfirst.c~66f494291dc005d3:
        Delete: isam/rfirst.c
      BitKeeper/deleted/.del-rkey.c~cc54c6498352f999:
        Delete: isam/rkey.c
      BitKeeper/deleted/.del-rlast.c~d1fe1866139e9866:
        Delete: isam/rlast.c
      BitKeeper/deleted/.del-rnext.c~b308eaa1e11ea7de:
        Delete: isam/rnext.c
      BitKeeper/deleted/.del-rprev.c~b359f71fdea4bbce:
        Delete: isam/rprev.c
      BitKeeper/deleted/.del-rrnd.c~7fcfcce88d4a5200:
        Delete: isam/rrnd.c
      BitKeeper/deleted/.del-rsame.c~75a62d5548103a15:
        Delete: isam/rsame.c
      BitKeeper/deleted/.del-rsamepos.c~5b5652dd2cda6d5d:
        Delete: isam/rsamepos.c
      BitKeeper/deleted/.del-sort.c~e2e56b5a37ce86f4:
        Delete: isam/sort.c
      BitKeeper/deleted/.del-static.c~3a1354b84f4a9cc7:
        Delete: isam/static.c
      BitKeeper/deleted/.del-test1.c~64d52e9412d457ed:
        Delete: isam/test1.c
      BitKeeper/deleted/.del-test2.c~2f9a632cab572958:
        Delete: isam/test2.c
      BitKeeper/deleted/.del-test3.c~e8a7a4afe8a087:
        Delete: isam/test3.c
      BitKeeper/deleted/.del-isamdef.h~ac8d49e7e2201c66:
        Delete: isam/isamdef.h
      BitKeeper/deleted/.del-update.c~670264f51dc44934:
        Delete: isam/update.c
      BitKeeper/deleted/.del-write.c~8f1918b1f6770e54:
        Delete: isam/write.c
      BitKeeper/deleted/.del-Makefile.am~6cfa0db5e7778d09:
        Delete: isam/Makefile.am
      BitKeeper/deleted/.del-make-ccc~3ee55391eda0b0ab:
        Delete: isam/make-ccc
      BitKeeper/deleted/.del-ChangeLog~208984fb7a51e568:
        Delete: isam/ChangeLog
      BitKeeper/deleted/.del-test_all.res~c2aafb49a3a77db7:
        Delete: isam/test_all.res
      BitKeeper/deleted/.del-test_all~93c701e44a9c5b65:
        Delete: isam/test_all
      BitKeeper/deleted/.del-.cvsignore~54f6f0f2d5012561:
        Delete: isam/.cvsignore
      BitKeeper/deleted/.del-ha_isammrg.cc~dc682e4755d77a2e:
        Delete: sql/ha_isammrg.cc
      BitKeeper/deleted/.del-ha_isam.h~bf53d533be3d3927:
        Delete: sql/ha_isam.h
      BitKeeper/deleted/.del-ha_isammrg.h~66fd2e5bfe7207dc:
        Delete: sql/ha_isammrg.h
      acinclude.m4:
        Remove ISAM
      client/mysqldump.c:
        FIELD_TYPE -> MYSQL_TYPE
      client/mysqltest.c:
        Add missing DBUG_RETURN
      configure.in:
        Remove ISAM
      heap/heapdef.h:
        Add support for VARCHAR
      heap/hp_create.c:
        Add support for VARCHAR
      heap/hp_delete.c:
        Add support for VARCHAR
      heap/hp_hash.c:
        Add support for VARCHAR
        (VARCHAR keys was not supported before)
      heap/hp_rkey.c:
        Add support for VARCHAR
      heap/hp_update.c:
        Add support for VARCHAR
      heap/hp_write.c:
        Add support for VARCHAR
        (Added flag SEARCH_UPDATE to mark that this is an update)
      include/decimal.h:
        Remove not needed my_global.h
      include/m_ctype.h:
        Add support for VARCHAR
      include/my_base.h:
        Add support for VARCHAR
      include/my_handler.h:
        Moved general purpose macro from MyISAM code
      include/mysql_com.h:
        Add support for VARCHAR
      libmysql/libmysql.c:
        Add support for VARCHAR
      libmysqld/Makefile.am:
        Removed ISAM
      myisam/ft_static.c:
        Add support for VARCHAR
      myisam/ft_test1.c:
        Add support for VARCHAR
      myisam/ft_update.c:
        Add support for VARCHAR
      myisam/mi_check.c:
        Add support for VARCHAR
      myisam/mi_create.c:
        Add support for VARCHAR
        - VARCHAR key segments are marked with HA_VAR_LENGTH_PART
      myisam/mi_key.c:
        Add support for VARCHAR
        Fixed bug in old VARCHAR code when reading index-only
      myisam/mi_range.c:
        Fixed comment style
      myisam/mi_rnext_same.c:
        Handle case where equal keys can be of different length
      myisam/mi_search.c:
        Add support for VARCHAR
      myisam/mi_test1.c:
        Add support for VARCHAR
      myisam/mi_unique.c:
        Add support for VARCHAR
        (Some new code to handle keys that are equal but have different lengths)
      myisam/mi_write.c:
        Fixed comment
      myisam/myisamchk.c:
        Better infotext if wrong type
      mysql-test/r/bdb.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/create.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/ctype_tis620.result:
        Updated old result and new results for VARCHAR
        (Old code sorted tis620 wrong)
      mysql-test/r/ctype_ucs.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/endspace.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/func_like.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/heap.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/innodb.result:
        Updated old result. This will change a bit when also InnoDB supports VARCHAR
      mysql-test/r/merge.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/myisam.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/mysqldump.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/order_by.result:
        Updated old result and new results for VARCHAR
        (Key length is different for VARCHAR)
      mysql-test/r/ps.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/ps_1general.result:
        Updated results for new .frm version
        Don't print seconds in show full process list as this may change
      mysql-test/r/ps_2myisam.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/ps_3innodb.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/ps_4heap.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/ps_5merge.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/ps_6bdb.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/select.result.es:
        Updated results by hand
      mysql-test/r/select.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/select_found.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/show_check.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/strict.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/subselect.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/system_mysql_db.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/type_blob.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/type_ranges.result:
        Updated old result and new results for VARCHAR
      mysql-test/r/type_ranges.result.es:
        Updated some results by hand
      mysql-test/t/bdb.test:
        Test VARCHAR
      mysql-test/t/ctype_ucs.test:
        Some fixes related to VARCHAR
      mysql-test/t/endspace.test:
        Fixes to make it easier to compare columns with end space
      mysql-test/t/heap.test:
        Test VARCHAR
      mysql-test/t/innodb.test:
        Prepare for testing VARCHAR
      mysql-test/t/myisam.test:
        Test VARCHAR
      mysql-test/t/ps_1general.test:
        Don't show seconds for show processlist
      mysql-test/t/ps_4heap.test:
        Update for VARCHAR
      mysql-test/t/strict.test:
        Fix test for VARCHAR
      mysql-test/t/type_blob.test:
        Update test for VARCHAR
        Note that now you can't store 'a' and 'a ' in an unique varchar/text index if the column is not binary
      mysys/my_handler.c:
        Add support for VARCHAR
      ndb/src/common/util/NdbSqlUtil.cpp:
        Fix for usage of strnncollsp
      scripts/mysql_fix_privilege_tables.sh:
        Simple fix so that my_print_defaults works
      sql/Makefile.am:
        Remove ISAM
      sql/field.cc:
        Add support for VARCHAR
        Fixed the keys for blob's are compared with strnncollsp
        Ensure that old tables from MySQL 4.0 works as they did before.
        (Old VARCHAR will be converted to new VARCHAR on ALTER TABLE)
      sql/field.h:
        Add support for VARCHAR
      sql/field_conv.cc:
        Change FIELD_TYPE_VAR_STRING -> MYSQL_TYPE_VARCHAR
        Added usage of HA_KEY_BLOB_LENGTH
      sql/ha_berkeley.cc:
        Add support for VARCHAR
        Added usage of table->insert_or_update if we would ever want to know in key_cmp if we are changing keys
      sql/ha_heap.cc:
        Add support for VARCHAR
      sql/ha_innodb.cc:
        Changed MYSQL_TYPE_VAR_STRING to MYSQL_TYPE_VARCHAR.
        Waiting for Heikki to add full VARCHAR support
      sql/ha_innodb.h:
        InnoDB doesn't support full VARCHAR yet
      sql/ha_myisam.cc:
        Add support for VARCHAR
      sql/ha_ndbcluster.cc:
        Add support for VARCHAR
      sql/handler.h:
        Added HA_NO_VARCHAR for table handler that doesn't support VARCHAR. In this case MySQL will create a normal CHAR instead
      sql/item.cc:
        Fixed access of already freed memory
        Added support of VARCHAR
        - varchar length is now checked in mysql_prepare
      sql/item_cmpfunc.cc:
        Added new parameter to strncollsp
      sql/item_sum.cc:
        Added new parameter to strncollsp
        FIELD_TYPE -> MYSQL_TYPE
      sql/key.cc:
        Add support for VARCHAR
      sql/opt_range.cc:
        Remove character set parameter from set_key_image()
      sql/opt_sum.cc:
        Remove character set parameter from set_key_image()
      sql/protocol.cc:
        Return MYSQL_TYPE_VAR_STRING instead of MYSQL_TYPE_VARCHAR to clients (to not cause compatiblity problems)
      sql/sql_acl.cc:
        Change key handling code so that we can use CHAR or VARCHAR for the user table columns
      sql/sql_base.cc:
        Remove old, not used code
      sql/sql_help.cc:
        Remove charset from get_key_image
      sql/sql_parse.cc:
        Ensure that OPTION_TABLE_LOCK is cleared ASAP; This fixed a problem in BDB transaction code when one used LOCK TABLES on a BDB table
        Added support for VARCHAR
        Moved field length checking and VARCHAR -> TEXT convert to mysql_prepare (as we need the know the character set for the column)
      sql/sql_select.cc:
        Added support of VARCHAR
        Added heuristic to use fixed size rows for tmp tables if we are using only a few short VARCHAR's
      sql/sql_string.cc:
        Added extra argument to strnncollsp
      sql/sql_table.cc:
        Add support for VARCHAR
        Automaticly convert (with warning) big VARCHAR (but not CHAR) to TEXT
        If handler doesn't support VARCHAR convert VARCHAR to CHAR
      sql/sql_update.cc:
        Fixed compiler warning
      sql/sql_yacc.yy:
        Add support for VARCHAR
      sql/strfunc.cc:
        Fixed valgrind warning
      sql/structs.h:
        Added 'table' to KEY structure to make life easier for some handler functions
      sql/table.cc:
        Add support for VARCHAR
        - New .frm version
        - FIELD_TYPE -> MYSQL_TYPE
      sql/table.h:
        Added insert_or_update; A bool flag a handler can set/reset if needed (for handler internal usage)
      sql/unireg.h:
        Add support for VARCHAR
      strings/ctype-big5.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/ctype-bin.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
      strings/ctype-czech.c:
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/ctype-gbk.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/ctype-latin1.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
      strings/ctype-mb.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/ctype-simple.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/ctype-sjis.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/ctype-tis620.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/ctype-uca.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
      strings/ctype-ucs2.c:
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/ctype-utf8.c:
        Added new argument to strnncollsp() to allow one to define if end space are significant or not
      strings/ctype-win1250ch.c:
        Changed my_like_range... to correctly calculate min_length & max_length
      strings/decimal.c:
        Fixed include files usage
        Fixed some compiler warnings
      tests/client_test.c:
        Ensure tests works with VARCHAR
      a8ea31fa
  38. 01 Nov, 2004 1 commit