- 15 Jan, 2004 3 commits
-
-
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.
-
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.
-
unknown authored
Bug#2080
-
- 14 Jan, 2004 14 commits
-
-
unknown authored
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.1 client/mysql.cc: Auto merged
-
unknown authored
-
unknown authored
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
into bar.intranet.mysql.r18.ru:/usr/home/bar/mysql-4.1
-
unknown authored
We don't need to copy if start is 0, we can return the original value. sql/item_strfunc.cc: We don't need to copy if start is 0, we can return the original value.
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1 sql/sql_show.cc: Auto merged
-
unknown authored
"PRIMARY" has been replaced by primary_key_name. sql/mysql_priv.h: "PRIMARY" replaced by primary_key_name. sql/sql_help.cc: "PRIMARY" replaced by primary_key_name. sql/sql_select.cc: "PRIMARY" replaced by primary_key_name. sql/sql_show.cc: "PRIMARY" replaced by primary_key_name. sql/sql_table.cc: fix for the 2361 bug: ALTER TABLE ... DROP PRIMARY KEY drops a non-primary key "PRIMARY" replaced by primary_key_name. sql/table.cc: "PRIMARY" replaced by primary_key_name.
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1-bug
-
unknown authored
-
unknown authored
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2361
-
unknown authored
Comment typo fix , sql/item_strfunc.cc: Comment typo fix ,
-
unknown authored
- Fixed Bug#2346 - Fixed Bug#2378 - Fixed bug in pager (no Bug#ID (?)) - Added support for new special situations option type, GET_DISABLED. See handling of --debug in mysql.cc. compiled wihtout debugging, as an example. client/mysql.cc: - Added missing documentation to some options. - Fixed a bug in pager (no Bug#ID found (?)), but reported on internals list with subject "[PATCH] Fix pager problems in mysql client" - Fixed Bug#2346, "unique prefix is enough" option behaviour can be confusing with --debug include/my_getopt.h: Added new option type, GET_DISABLED. include/mysys_err.h: New exit code for my_getopt. mysys/my_getopt.c: - Added handling for GET_DISABLED option type (Fix for Bug#2346) - Fixed Bug#2378, "Problem with option abbreviation"
-
- 13 Jan, 2004 8 commits
-
-
unknown authored
(BUG 2289) support-files/mysql.spec.sh: - link the mysql client against libreadline instead of libedit (BUG 2289)
-
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
-
unknown authored
Unnesessary code was removed. Comment was added. sql/item_strfunc.cc: Unnesessary code was removed. Comment was added.
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2361
-
unknown authored
-
unknown authored
netware/init_db.sql: Add new tables for 4.1 netware/libmysql.imp: Comment out simple_command
-
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
-
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
-
- 12 Jan, 2004 5 commits
-
-
unknown authored
into mysql.com:/home/mysql_src/mysql-4.1
-
unknown authored
mysql_alter_db() now returns -1 in case of error, so that mysql_execute_command() calls send_error(). sql/sql_db.cc: In case of error, return -1 so that mysql_execute_command() understands that it must send_error(). The double (( at the left of 'error' in the 'if' are to avoid a compiler warning.
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1-bug
-
unknown authored
checking 2nd level of FT index destroyed info->lastkey and CHECK TABLE erroneously treated table as corrupted bug#2190
-
unknown authored
Fixed: client crashed when there are no Index.xml file. mysys/charset.c: Fixed: client crashed when there are no Index.xml file.
-
- 11 Jan, 2004 1 commit
-
-
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.
-
- 08 Jan, 2004 1 commit
-
-
unknown authored
Fix typo innobase/row/row0mysql.c: Fix typo
-
- 07 Jan, 2004 4 commits
-
-
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
-
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
-
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
-
unknown authored
libmysqld/lib_sql.cc: Auto merged sql/sql_cache.cc: Auto merged sql/sql_parse.cc: SCCS merged
-
- 06 Jan, 2004 2 commits
-
-
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
-
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
-
- 05 Jan, 2004 1 commit
-
-
unknown authored
-
- 02 Jan, 2004 1 commit
-
-
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
-