1. 15 Jan, 2004 3 commits
    • unknown's avatar
      Fixed Bug#2123, mysqld segmentation faulted when it tried to · c00f230c
      unknown authored
      open a file that already existed. The problem was that end_io_cache()
      was called even if init_io_cache() was not. This affected both
      OUTFILE and DUMPFILE (both fixed). Sometimes wrongly aligned pointer was freed,
      sometimes mysqld core dumped.
      
      Other problem was that select_dump::send_error removed the dumpfile,
      even if it was created by an earlier run, or by some other program, if
      the file permissions just permitted it. Fixed it so that the file will
      only be deleted, if an error occurred, but the file was created by mysqld
      just a moment ago, in that thread.
      
      On the other hand, select_export did not handle the corresponding garbage
      file at all. Both fixed.
      
      After these fixes, a big part of the select_export::prepare and select_dump::prepare
      code became identical. Merged the code into a new function called create_file(),
      which is now called by the two latter functions.
      
      Regards,
      Jani
      
      
      mysys/mf_iocache.c:
        Fixed a bug in comment.
      c00f230c
    • unknown's avatar
      Fixed Bug#2281, --quote is now enabled by default. Can be disabled · 7afd1cbc
      unknown authored
      with --disable-quote
      
      Added --compatible=ansi mode.
      
      Fixed a non-reported bug in compatible mode; there was a check for
      /*!41000 */ at this part of the code, while it obviously should have been
      /*!40100 */. So the mysqldump compatiple mode made for 4.0.1 will not work
      until 4.10 or later server is released :P Fixed into 4.0.2.
      
      
      client/mysqldump.c:
        Fixed Bug#2281, --quote is now enabled by default. Can be disabled
        with --disable-quote
        
        Added --compatible=ansi mode.
        
        Changed sapdb into maxdb, as this change has been made to server too.
        
        Fixed a non-reported bug in compatible mode; there was a check for
        /*!41000 */ at this part of the code, while it obviously should have been
        /*!40100 */. So the mysqldump compatiple mode made for 4.1.0 will not work
        until 4.10.0 or later server is released :P Fixed into 4.1.2.
      7afd1cbc
    • unknown's avatar
      Added handling for ; comment character as there was for #. · f3471be5
      unknown authored
      Bug#2080
      
      f3471be5
  2. 14 Jan, 2004 14 commits
  3. 13 Jan, 2004 8 commits
    • unknown's avatar
      - link the mysql client RPM against libreadline instead of libedit · b6b30ca7
      unknown authored
         (BUG 2289)
      
      
      support-files/mysql.spec.sh:
         - link the mysql client against libreadline instead of libedit (BUG 2289)
      b6b30ca7
    • unknown's avatar
      srv0start.c, srv0srv.c: · 86356722
      unknown authored
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      
      
      innobase/srv/srv0srv.c:
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      innobase/srv/srv0start.c:
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      86356722
    • unknown's avatar
      item_strfunc.cc: · c73188ad
      unknown authored
        Unnesessary code was removed. Comment was added.
      
      
      sql/item_strfunc.cc:
        Unnesessary code was removed. Comment was added.
      c73188ad
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · d60c0146
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2361
      
      d60c0146
    • unknown's avatar
    • unknown's avatar
      Minor Novell supplied changes for 4.1 (inside netware directory) · bc48a0f7
      unknown authored
      
      netware/init_db.sql:
        Add new tables for 4.1
      netware/libmysql.imp:
        Comment out simple_command
      bc48a0f7
    • unknown's avatar
      row0sel.c: · 90115694
      unknown authored
        Improve previous push: save 1000 bytes of thread stack in non-error cases
      
      
      innobase/row/row0sel.c:
        Improve previous push: save 1000 bytes of thread stack in non-error cases
      90115694
    • unknown's avatar
      row0sel.c: · fcde8277
      unknown authored
        If MySQL tries to do SELECT from an InnoDB table, but has set no table locks at all in ::external_lock(), print a descriptive error message and assert; some subquery bugs were of this type
      
      
      innobase/row/row0sel.c:
        If MySQL tries to do SELECT from an InnoDB table, but has set no table locks at all in ::external_lock(), print a descriptive error message and assert; some subquery bugs were of this type
      fcde8277
  4. 12 Jan, 2004 5 commits
  5. 11 Jan, 2004 1 commit
    • unknown's avatar
      Detect unexpected return codes of mysqltest in mysql-test-run. · dd88347e
      unknown authored
      This way, a crash of mysqltest will be visible in the test logs
      (output of mysql-test-run).
      
      
      mysql-test/mysql-test-run.sh:
        by design mysqltest returns 0 or 1 or 2 (see the exit()s and the return()
        of main()). So any greater code is a crash, I guess.
        On build and on my machine, 139 is segfault and 134 is assertion failure.
      dd88347e
  6. 08 Jan, 2004 1 commit
    • unknown's avatar
      row0mysql.c: · 7e713a98
      unknown authored
        Fix typo
      
      
      innobase/row/row0mysql.c:
        Fix typo
      7e713a98
  7. 07 Jan, 2004 4 commits
    • unknown's avatar
      Fix for 1224 (USER() CURRENT_USER() functions in embedded library) · 4a44e805
      unknown authored
      Now we return user@host for USER() in embedded library
      CURRENT_USER returns empty string if library compiled with
      NO_EMBEDDED_ACCESS_CHECKS
      
      
      libmysqld/embedded_priv.h:
        function's declarations trimmed
      libmysqld/lib_sql.cc:
        user/host names handling added
      libmysqld/libmysqld.c:
        user/host names handling added
      sql/sql_class.cc:
        we shouldn't free user/host names in embedded library
      4a44e805
    • unknown's avatar
      SCRUM · 640e97bd
      unknown authored
      WL#1246 (Query cache in embedded library)
      Some fixes after testing
      
      
      libmysqld/emb_qcache.cc:
        code added to check if the recordset has no rows
      sql/sql_cache.cc:
        this code should not work if the query isn't cacheable
      640e97bd
    • unknown's avatar
      SCRUM · d7b883b2
      unknown authored
      WL#1246 (Query cache in embedded library)
      Small fix - code removed that prevents using query cache in embedded library
      
      
      include/mysql_embed.h:
        Now we have the query_cache in embedded library
      d7b883b2
    • unknown's avatar
      Merge · 87052652
      unknown authored
      
      libmysqld/lib_sql.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_parse.cc:
        SCCS merged
      87052652
  8. 06 Jan, 2004 2 commits
    • unknown's avatar
      srv0start.c: · 7b230179
      unknown authored
        More instructions about a downgrade 4.1.1 -> 4.0.18
      
      
      innobase/srv/srv0start.c:
        More instructions about a downgrade 4.1.1 -> 4.0.18
      7b230179
    • unknown's avatar
      srv0start.c: · 3f77206a
      unknown authored
        Add comment that the insert buffer format changed between 4.0 and 4.1.1, but the undo log format did not
      
      
      innobase/srv/srv0start.c:
        Add comment that the insert buffer format changed between 4.0 and 4.1.1, but the undo log format did not
      3f77206a
  9. 05 Jan, 2004 1 commit
  10. 02 Jan, 2004 1 commit
    • unknown's avatar
      log0recv.h, log0recv.c: · 14a49377
      unknown authored
        Merge a log replay change required by ibbackup
      
      
      innobase/log/log0recv.c:
        Merge a log replay change required by ibbackup
      innobase/include/log0recv.h:
        Merge a log replay change required by ibbackup
      14a49377