1. 10 Feb, 2004 1 commit
    • unknown's avatar
      Fixed bug #2248 "mysql_fetch without prior mysql_execute hangs" · 94f215cb
      unknown authored
      Done clean-up in prep stmt API functions:
      1) Removed some checks that were performed only in debug version
      were making debug version more tolerable to user errors than 
      production (and thus caused problems for example masking some
      bugs). 
      2) Also removed some other checks to make prep stmt API 
      consistent with the rest of C API (this also in line with 
      general politics - make checks in only those places where 
      errors are very common and hard to spot).
      
      
      include/mysql.h:
        Removed CHECK_EXTRA_ARGUMENTS define since it is no longer used 
        anywhere.
      libmysql/libmysql.c:
        Added check that will cause mysql_fetch() to bark then it is 
        used without calling mysql_execute() before.
        Removed checks that were performed only in debug version and
        caused problems since they were making debug version more 
        tolerable to user errors than production. Also removed some
        other checks to make prep stmt API consistent in this regard 
        with the rest of C API (this also in line with general politics -
        make checks in only those places where errors are very common 
        and hard to spot).
      tests/client_test.c:
        Updated tests to reflect removal of some checks in prep stmt API.
        Removed lines that caused bug #2473 to pop up, should be added 
        as separate test with the fix for this bug.
        Added test for bug#2248 "mysql_fetch without prior mysql_execute 
        hangs"
      94f215cb
  2. 02 Jan, 2004 1 commit
    • unknown's avatar
      log0recv.h, log0recv.c: · 63f15064
      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
      63f15064
  3. 31 Dec, 2003 2 commits
    • unknown's avatar
      row0purge.c: · 39403682
      unknown authored
        Fix bug: if purge of a table was not possible because its .ibd file was missing, trx->dict_operation_lock_mode was left to a wrong value, causing an assertion failure
      
      
      innobase/row/row0purge.c:
        Fix bug: if purge of a table was not possible because its .ibd file was missing, trx->dict_operation_lock_mode was left to a wrong value, causing an assertion failure
      39403682
    • unknown's avatar
      92fdbe5e
  4. 30 Dec, 2003 1 commit
  5. 29 Dec, 2003 2 commits
    • unknown's avatar
      latin1.xml, Index.xml: · c7b62fcd
      unknown authored
        Modern Spanish collation
      
      
      sql/share/charsets/Index.xml:
        Modern Spanish collation
      sql/share/charsets/latin1.xml:
        Modern Spanish collation
      c7b62fcd
    • unknown's avatar
      logging_ok: · 64d03983
      unknown authored
        Logging to logging@openlogging.org accepted
      item_strfunc.cc:
        Bug wich appeared in ctype_tis620 is fixed
      
      
      sql/item_strfunc.cc:
        Bug wich appeared in ctype_tis620 is fixed
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      64d03983
  6. 25 Dec, 2003 4 commits
  7. 24 Dec, 2003 5 commits
    • unknown's avatar
      sql_parse.cc: · 229cc612
      unknown authored
        Fix for the bug 1175: Usernames will not converted to utf8 during connect
      
      
      sql/sql_parse.cc:
        Fix for the bug 1175: Usernames will not converted to utf8 during connect
      229cc612
    • unknown's avatar
      4bff43a7
    • unknown's avatar
      charset.c: · 56f48405
      unknown authored
        he mysqld server crashes if issued a command select convert(...)
        with a
        non-compiled character set:
      
      
      mysys/charset.c:
        he mysqld server crashes if issued a command select convert(...)
        with a
        non-compiled character set:
      56f48405
    • unknown's avatar
      install_test_db.sh: · b72efef6
      unknown authored
        install-test-db did not substiture the path to charsets file, so tests failed with non-default collation incompiled, for example --with-collation=latin1_german1_ci
      mysqld.cc:
        better error messaging
      
      
      sql/mysqld.cc:
        better error messaging
      mysql-test/install_test_db.sh:
        install-test-db did not substiture the path to charsets file, so tests failed with non-default collation incompiled, for example --with-collation=latin1_german1_ci
      b72efef6
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 20a1da78
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.2046
      
      
      libmysqld/libmysqld.c:
        Auto merged
      20a1da78
  8. 23 Dec, 2003 6 commits
  9. 22 Dec, 2003 4 commits
  10. 21 Dec, 2003 6 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 5d386431
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      5d386431
    • unknown's avatar
      typo fixed · 5c9aacb1
      unknown authored
      5c9aacb1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f13383a5
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      sql/sql_class.h:
        Auto merged
      f13383a5
    • unknown's avatar
      THD::init_for_queries() pushed back: · 2fe00517
      unknown authored
      see comments to the method why
      
      
      sql/sql_class.h:
        THD::init_for_queries() pushed back:
        see comments to the method why
        Cleanup
      2fe00517
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 73846938
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      73846938
    • unknown's avatar
      Portability fixes found during 5.0 test compilation · d31c6628
      unknown authored
      Fixed bug in ORDER BY on a small column (Bug #2147)
      Fixed error from pthread_mutex_destroy() when one had wrong errmsg file
      
      
      
      client/mysqltest.c:
        Added handling of error on query send
        (Needed for init_connection.test)
      mysql-test/mysql-test-run.sh:
        Added tracing of mysqldump and mysqlbinlog
      mysql-test/r/init_connect.result:
        Updated tests
      mysql-test/r/order_by.result:
        Added test for bug filesort bug
      mysql-test/t/init_connect-master.opt:
        Added proper quoting (for Solaris and OSF)
      mysql-test/t/init_connect.test:
        Portability fix
      mysql-test/t/order_by.test:
        Added test for bug #2147 (bug in filesort)
      sql/filesort.cc:
        Fixed bug in filesort (Bug #2147)
      sql/item.h:
        Clear 'fixed' on cleanup (For prepared statements)
      sql/item_func.cc:
        Protect mutex destroy.
        (Fixed error from pthread_mutex_destroy() when one had wrong errmsg file)
      sql/log_event.cc:
        Portability fix
      sql/sql_class.h:
        Fixed compiler warning
      sql/sql_prepare.cc:
        Portability fix. (Some compilers doesn't support jump over variables declared in for())
      d31c6628
  11. 20 Dec, 2003 5 commits
    • unknown's avatar
      univ.i, srv0srv.c: · b4b8d1f6
      unknown authored
        Define macro ULINTPF which can be used in printf statements as the print format of ulint both on Win64 and other platforms
      
      
      innobase/srv/srv0srv.c:
        Define macro ULINTPF which can be used in printf statements as the print format of ulint both on Win64 and other platforms
      innobase/include/univ.i:
        Define macro ULINTPF which can be used in printf statements as the print format of ulint both on Win64 and other platforms
      b4b8d1f6
    • unknown's avatar
      srv0start.c, univ.i, configure.in: · 9e56a0a7
      unknown authored
        Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
      
      
      innobase/configure.in:
        Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
      innobase/include/univ.i:
        Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
      innobase/srv/srv0start.c:
        Check at compilation time on Unix that InnoDB ulint is the same size as void*, and also check it at runtime
      9e56a0a7
    • unknown's avatar
      Merge fix · d5708aeb
      unknown authored
      d5708aeb
    • unknown's avatar
      Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe · 65c44414
      unknown authored
      A after merge fix for last merge
      
      
      innobase/btr/btr0btr.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/btr/btr0sea.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/buf/buf0buf.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/buf/buf0flu.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/buf/buf0lru.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/buf/buf0rea.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/com/com0shm.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/data/data0data.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/data/data0type.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/dict/dict0crea.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/dict/dict0dict.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/fil/fil0fil.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/fsp/fsp0fsp.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/fut/fut0lst.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/ha/ha0ha.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/ibuf/ibuf0ibuf.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/include/univ.i:
        Disabled ut_sprintf/ut_fprintf. Not needed as all number arguments to printf are now casted
      innobase/lock/lock0lock.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/log/log0log.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/log/log0recv.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/mem/mem0dbg.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/mem/mem0pool.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/mtr/mtr0log.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/mtr/mtr0mtr.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/os/os0file.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/os/os0sync.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/page/page0cur.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/page/page0page.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/read/read0read.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/rem/rem0cmp.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/rem/rem0rec.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/row/row0mysql.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
        Heikki, please check the change of % to %%
      innobase/row/row0sel.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/row/row0undo.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/srv/srv0srv.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/srv/srv0start.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/sync/sync0arr.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/sync/sync0rw.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/sync/sync0sync.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0purge.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0rec.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0roll.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0sys.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0trx.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/trx/trx0undo.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/usr/usr0sess.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/ut/ut0mem.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      innobase/ut/ut0ut.c:
        Add cast of integer/longlong to (ulong) to make printf/sprintf 64 bit safe
      sql/sql_delete.cc:
        After merge fix
      65c44414
    • unknown's avatar
      one line was removed during merge · 28f7dbdb
      unknown authored
      28f7dbdb
  12. 19 Dec, 2003 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e87a2b31
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-prep_st_hack
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      e87a2b31
    • unknown's avatar
      Prepared_statement deployed instead of PREP_STMT. · 32c6b0d7
      unknown authored
      
      libmysqld/lib_sql.cc:
        Prepared_statement now resides entirely in sql_prepare.cc
        Embedded versions of setup_params_data moved to sql_prepare.cc
      sql/mysql_priv.h:
        removed declarations for non-existing functions
      sql/slave.cc:
        no thd->init_for_queries() any more
      sql/sql_class.cc:
        added Statement and Statement_map classes.
        PREP_STMT replaced with Statement (Prepared_statement) and moved to
        sql_prepare.cc
      sql/sql_class.h:
        added Statement and Statement_map classes.
        PREP_STMT replaced with Statement (Prepared_statement) and moved to
        sql_prepare.cc
      sql/sql_parse.cc:
        thd->init_for_queries() doesn't exist any more
        comment moved to proper place
      sql/sql_prepare.cc:
        PREP_STMT replaced with Prepared_statement
        minor code cleanups
      tests/client_test.c:
        Later in the test we rely on order of rows, which normally is not defined.
        My patch changes the order.
      32c6b0d7
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6dbd1030
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      6dbd1030