1. 01 Aug, 2007 1 commit
    • unknown's avatar
      Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect · f87acb59
      unknown authored
      restores from mysqlbinlog out
      
      Problem: using "mysqlbinlog | mysql" for recoveries the connection_id() 
      result may differ from what was used when issuing the statement.
      
      Fix: if there is a connection_id() in a statement, write to binlog
      SET pseudo_thread_id= XXX; before it and use the value later on.
      
      
      mysql-test/r/mysqlbinlog.result:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - test result.
      mysql-test/t/mysqlbinlog.test:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - test case.
      sql/item_create.cc:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - set thread_specific_used flag for the connection_id() function.
      sql/item_func.cc:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - always return thd->variables.pseudo_thread_id as a connection_id() 
        result, as it contains a proper value for both master and slave.
      sql/log_event.cc:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - set LOG_EVENT_THREAD_SPECIFIC_F event flag if thread_specific_used
        is set.
      sql/sql_class.cc:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - thd->thread_specific_used introduced, which is set if thread specific 
        value(s) used in a statement.
      sql/sql_class.h:
        Fix for bug #29928: INSERT ... VALUES(connection_id(), ...) incorrect 
        restores from mysqlbinlog out
          - thd->thread_specific_used introduced, which is set if thread specific 
        value(s) used in a statement.
      f87acb59
  2. 27 Jul, 2007 1 commit
  3. 25 Jul, 2007 1 commit
    • unknown's avatar
      Bug#24732 Executables do not include Vista manifests · a34879eb
      unknown authored
      - Sign executables with MySQL AB security certificate.
      
      
      BitKeeper/etc/ignore:
        Bug#24732 Executables do not include Vista manifests
        - Ignore security catalog descriptions
      CMakeLists.txt:
        Bug#24732 Executables do not include Vista manifests
        - Search for additional tools necessary to embed, catalog and sign
        targets.
      win/README:
        Bug#24732 Executables do not include Vista manifests
        - Add internal only note to EMBED_MANIFESTS option.
      win/create_manifest.js:
        Bug#24732 Executables do not include Vista manifests
        - Added publicKeyToken attribute to manifest.
      win/mysql_manifest.cmake:
        Bug#24732 Executables do not include Vista manifests
        - Add additional commands to create security catalog and sign 
        targets.
        - Add parameters to add appropiate hash attribute to manifest
        and create security content description of the security catalog.
      a34879eb
  4. 24 Jul, 2007 1 commit
  5. 20 Jul, 2007 7 commits
  6. 19 Jul, 2007 17 commits
  7. 18 Jul, 2007 6 commits
    • unknown's avatar
      Bug#26909: Specified key was too long; max key length is 255 bytes \ · 8b8b430b
      unknown authored
      	when creating table
      
      Federated tables had an artificially low maximum of key length, 
      because the handler failed to implement a method to return it and 
      the default value is taked from the prototype handler.
      
      Now, implement that method and return the maximum possible key
      length, which is that of InnoDB.
      
      
      mysql-test/r/federated.result:
        Verify that unique keys may be longer than 255 characters.
      mysql-test/t/federated.test:
        Verify that unique keys may be longer than 255 characters.
      sql/ha_federated.h:
        Implement the virtual method that tells the max size of parts to 
        make a key.
        
        Backport the length defined in 5.1.
      8b8b430b
    • unknown's avatar
      Fixed bug #28524. · 2bfe84d4
      unknown authored
      For each view the mysqldump utility creates a temporary table
      with the same name and the same columns as the view 
      in order to satisfy views that depend on this view.
      After the creation of all tables, mysqldump drops all
      temporary tables and creates actual views.
      However, --skip-add-drop-table and --compact flags disable
      DROP TABLE statements for those temporary tables. Thus, it was
      impossible to create the views because of existence of the
      temporary tables with the same names.
      
      
      client/mysqldump.c:
        Fixed bug #28524.
        The mysqldump utility has been modified to unconditionally drop
        temporary tables before the creation of views.
      mysql-test/t/mysqldump.test:
        Updated test case for bug #28524 and updated result of previous tests.
      mysql-test/r/mysqldump.result:
        Updated test case for bug #28524 and updated result of previous tests.
      2bfe84d4
    • unknown's avatar
      CMakeLists.txt, configure.js: · 73a680a5
      unknown authored
        Allow to set mysqld exe suffix
      
      
      sql/CMakeLists.txt:
        Allow to set mysqld exe suffix
      win/configure.js:
        Allow to set mysqld exe suffix
      73a680a5
    • unknown's avatar
      Bug #29325: create table overwrites .MYD file of other · a266c16d
      unknown authored
      table (datadir)
      Set errno when retunring an error in my_create_with_symlink.
      
      
      mysys/my_symlink2.c:
        Bug #29325: set errno when retunring 
        an error in my_create_with_symlink
      a266c16d
    • unknown's avatar
      Fix for bug #28125: ERROR 2013 when adding index. · 6947f2d1
      unknown authored
      Problem: we may break a multibyte char sequence using a key 
      reduced to maximum allowed length for a storage engine
      (that leads to failed assertion in the innodb code, 
      see also #17530). 
      
      Fix: align truncated key length to multibyte char boundary.
      
      
      mysql-test/r/innodb_mysql.result:
        Fix for bug #28125: ERROR 2013 when adding index.
          - test result.
      mysql-test/t/innodb_mysql.test:
        Fix for bug #28125: ERROR 2013 when adding index.
          - test case.
      sql/sql_table.cc:
        Fix for bug #28125: ERROR 2013 when adding index.
          - align truncated key length to multibyte char boundary.
          - display real key length in bytes raising warnings.
      6947f2d1
    • unknown's avatar
      Mark deadcode for gcov · 06b446da
      unknown authored
      06b446da
  8. 17 Jul, 2007 6 commits
    • unknown's avatar
      Mark deadcode for gcov · 043f697a
      unknown authored
      043f697a
    • unknown's avatar
      Merge trift2.:/MySQL/M50/bug21023-25486-5.0 · c3e1eaba
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      c3e1eaba
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · a5a0a38d
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      a5a0a38d
    • unknown's avatar
      Small comments fix · 2679e53a
      unknown authored
      2679e53a
    • unknown's avatar
      Bug #29784 YaSSL assertion failure when reading 8k key. · 475eac91
      unknown authored
      Fixed the yassl base64 decoding to correctly allocate a maximum decoded buffer size. 
      
      
      mysql-test/std_data/server8k-cert.pem:
        BitKeeper file /Users/dkatz/50/mysql-test/std_data/server8k-cert.pem
      mysql-test/std_data/server8k-key.pem:
        BitKeeper file /Users/dkatz/50/mysql-test/std_data/server8k-key.pem
      extra/yassl/taocrypt/src/coding.cpp:
        Fixed buffer allocation to compute the proper maximum decoded size: (EncodedLength * 3/4) + 3
      mysql-test/r/ssl_8k_key.result:
        New BitKeeper file ``mysql-test/r/ssl_8k_key.result''
        
        Test connection to server using large SSL key.
      mysql-test/t/ssl_8k_key.test:
        New BitKeeper file ``mysql-test/t/ssl_8k_key.test''
        
        Test connection to server using large SSL key.
      475eac91
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/50 · 91301448
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      sql/mysql_priv.h:
        Auto merged
      91301448