1. 19 Aug, 2004 7 commits
    • unknown's avatar
      ha_innodb.cc: · 76e8a2b1
      unknown authored
        innobase_mysql_tmpfile(): call dup() and my_close() on the file
        returned by create_temp_file()
        in order to avoid memory leak caused by my_open() being paired with close()
      
      
      sql/ha_innodb.cc:
        innobase_mysql_tmpfile(): call dup() and my_close() on the file
        returned by create_temp_file()
        in order to avoid memory leak caused by my_open() being paired with close()
      76e8a2b1
    • unknown's avatar
      Build bug on 64-Bit platforms. · 8acc35e2
      unknown authored
      Removed improper casts.
      Thanks to Joerg Bruehe for the fix.
      
      
      include/my_global.h:
        Build bug on 64-Bit platforms.
        Removed improper casts.
        Changed to uniform writing style.
        Appended 'L' to 32-Bit constants which doesn't hurt on 32-Bit,
        but can be important for some 64-Bit compilers.
      8acc35e2
    • unknown's avatar
      typos fixed · 86255afe
      unknown authored
      86255afe
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 8afec7fe
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      8afec7fe
    • unknown's avatar
      a016c0fb
    • unknown's avatar
      cosmetic change · ca0257f9
      unknown authored
      
      sql/sql_class.h:
        comment
      sql/sql_table.cc:
        smarter use of the Disable_binlog object (using a block so that when leaving it either way, the object gets
        destroyed and so properties of the thread get reset).
      ca0257f9
    • unknown's avatar
      copied new my_vsnprintf from 4.1. use "ul" when merging · 6f81b717
      unknown authored
      
      BitKeeper/etc/ignore:
        Added EXCEPTIONS-CLIENT to the ignore list
      6f81b717
  2. 18 Aug, 2004 4 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · bde0645f
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      bde0645f
    • unknown's avatar
      Fix for BUG#4971 "CREATE TABLE ... TYPE=HEAP SELECT ... stops slave (wrong DELETE in binlog)": · 090b38b0
      unknown authored
      replacing the no_log argument of mysql_create_table() by some safer method
      (temporarily setting OPTION_BIN_LOG to 0) which guarantees that even the automatic
      DELETE FROM heap_table does not get into the binlog when a not-yet-existing HEAP table
      is opened by mysql_create_table().
      
      
      mysql-test/r/rpl_heap.result:
        result update
      mysql-test/t/rpl_heap.test:
        testing a bug
      sql/log.cc:
        new class Disable_binlog used to temporarily disable binlogging for one thread.
      sql/mysql_priv.h:
        removing argument no_log from mysql_create_table(); no_log was perfect as some
        binlogging could still be done by open_unireg_entry() for a HEAP table.
      sql/sql_class.h:
        new class Disable_binlog used to temporarily disable binlogging for one thread.
      sql/sql_parse.cc:
        removing no_log
      sql/sql_table.cc:
        removing no_log from mysql_create_table(); instead using new class Disable_binlog.
        Disabling binlogging in some cases, where the binlogging is done later by some other code
        (case of CREATE SELECT and ALTER).
      090b38b0
    • unknown's avatar
      Bug 4937: different date -> string conversion when using · 8c83ab40
      unknown authored
      SELECT ... UNION and INSERT ... SELECT ... UNION
      
      8c83ab40
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · e20b1a57
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      e20b1a57
  3. 17 Aug, 2004 6 commits
    • unknown's avatar
      srv0start.c, ut0mem.c, ut0dbg.c, ut0dbg.h, srv0start.h: · 63fc705a
      unknown authored
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      mysqld.cc, ha_innodb.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri) 
      
      
      sql/ha_innodb.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      sql/mysqld.cc:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/include/srv0start.h:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/include/ut0dbg.h:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/ut/ut0dbg.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/ut/ut0mem.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      innobase/srv/srv0start.c:
        Changes for NetWare to exit the InnoDB gracefully instead of crashing the server (patch by PRam@novell.com, polished a little by Heikki Tuuri)
      63fc705a
    • unknown's avatar
      use my_vsnprintf() just in case · 589f9a26
      unknown authored
      bug#4925
      
      589f9a26
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 953e6859
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      953e6859
    • unknown's avatar
      Fix for BUG#5073 "--disable-local-infile has no effect if client reads it with MYSQL_READ_DEFAULT": · 9859027c
      unknown authored
      that was a forgotten '~' probably.
      
      
      libmysql/libmysql.c:
        When we read "disable-local-infile" from the option file specified by mysql_options(MYSQL_READ_DEFAULT_FILE),
        we must take CLIENT_LOCAL_FILES down (it was probably a forgotten '~').
      9859027c
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · f4b148ca
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      f4b148ca
    • unknown's avatar
      A fix (bug #5055: SQL_SELECT_LIMIT=0 crashes command line client): · f9525e9d
      unknown authored
      mysql outwits itself.
      
      f9525e9d
  4. 16 Aug, 2004 2 commits
  5. 14 Aug, 2004 2 commits
  6. 13 Aug, 2004 4 commits
    • unknown's avatar
      row0mysql.c: · 09182527
      unknown authored
        Fix bug: if we RENAME a table, InnoDB forgot to load the foreign key constraints that reference the new table name, and forgot to check that they are compatible with the table
      
      
      innobase/row/row0mysql.c:
        Fix bug: if we RENAME a table, InnoDB forgot to load the foreign key constraints that reference the new table name, and forgot to check that they are compatible with the table
      09182527
    • unknown's avatar
      - manual merge · c269ff4e
      unknown authored
      c269ff4e
    • unknown's avatar
      Escaping [] so that darwin[7-8] gets into 'configure' and not darwin7-8 · 9bbd9c10
      unknown authored
      Adding a compilation define so that on recent Darwin mysqld does not react to SIGHUP and SIGQUIT:
      this fixes a rpl000001 problem on our Powermac G5 machine (popping after an upgrade from 10.3.4 to
      10.3.5) and is expected to fix 
      BUG#2030 "relay bin log on slave resets multiple times a second"
      (i.e. under some Mac OS X Panther versions, mysqld receives many SIGHUP and SIGQUIT).
      So this fix is more a problem-hider than a real understanding of why mysqld receives so many signals.
      Note that we saw other problems on this OS where mysqld reacts to Ctrl-Z but apparently only once,
      where using SSL seems to make the problem more frequent...
      
      
      configure.in:
        Escaping [] so that darwin[7-8] gets into 'configure' and not darwin7-8
        Adding a compilation define so that on recent Darwin mysqld does not react to SIGHUP and SIGQUIT.
      sql/mysqld.cc:
        optionally ignore SIGHUP and SIGQUIT, for some Mac OS X Panther versions which send too many of those.
      9bbd9c10
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · cf407653
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      cf407653
  7. 12 Aug, 2004 15 commits