- 03 Feb, 2006 2 commits
- 01 Feb, 2006 2 commits
-
-
unknown authored
libmysql/libmysql.c: stmt->mysql could be 0x0 if the connection has failed between prepare and execute or any other operation. thus if the user decides to use mysql_stmt_reset() we should not segfault. tests/mysql_client_test.c: test for bug #12744 (MYSQL_STMT operations cause seg fault after connection reset)
-
unknown authored
A query with a group by and having clauses could return a wrong result set if the having condition contained a constant conjunct evaluated to FALSE. It happened because the pushdown condition for table with grouping columns lost its constant conjuncts. Pushdown conditions are always built by the function make_cond_for_table that ignores constant conjuncts. This is apparently not correct when constant false conjuncts are present. mysql-test/r/having.result: Added A test case for bug #14927. mysql-test/t/having.test: Added A test case for bug #14927. sql/sql_lex.cc: Fixed bug #14927. Initialized fields for having conditions in st_select_lex::init_query(). sql/sql_lex.h: Fixed bug #14927. Added a field to restore having condititions for execution in SP and PS. sql/sql_prepare.cc: Fixed bug #14927. Added code to restore havinf conditions for execution in SP and PS. sql/sql_select.cc: Fixed bug #14927. Performed evaluation of constant expressions in having clauses. If the having condition contains a constant conjunct that is always false an empty result set is returned after the optimization phase. In this case the corresponding EXPLAIN command now returns "Impossible HAVING" in the last column.
-
- 31 Jan, 2006 3 commits
-
-
unknown authored
into devsrv-b.mysql.com:/space/magnus/my41-bug15302
-
unknown authored
- Change "mysql_create_db" to not call "send_ok" if in silent mode i.e. called from "load_master_data" - Change mysqltest to detect when there aren't as many warnings available as was reported. client/mysqltest.c: Call "die" if warnings were reported but there weren't any warnings to retrieve sql/sql_db.cc: Don't call "send_ok" if in silent mode.
-
unknown authored
ndb/test/ndbapi/testBlobs.cpp: setValue buffer was not fullsize
-
- 30 Jan, 2006 4 commits
-
-
unknown authored
into mysql.com:/home/alexi/innodb/mysql-4.1-merged
-
unknown authored
Applied innodb-4.1-ss20 snapshot. innobase/btr/btr0sea.c: Applied innodb-4.1-ss20 snapshot. Account for a race condition when dropping the adaptive hash index for a B-tree page (Bug #16582). btr_search_drop_page_hash_index(): Retry the operation if a hash index with different parameters was built meanwhile. Add diagnostics for the case that hash node pointers to the page remain. This fix is from Heikki. btr_search_info_update_hash(), btr_search_info_update_slow(): Document the parameter "info" as in/out. innobase/fil/fil0fil.c: Applied innodb-4.1-ss20 snapshot. Keep track on unflushed modifications to file spaces. When there are tens of thousnads of file spaces, flushing all files in fil_flush_file_spaces() would be very slow (Bug #16582). fil_flush_file_spaces(): Only flush unflushed file spaces. fil_space_t, fil_system_t: Add a list of unflushed spaces. innobase/include/btr0sea.ic: Applied innodb-4.1-ss20 snapshot. btr_search_info_update_hash(), btr_search_info_update_slow(): Document the parameter "info" as in/out.
-
unknown authored
into mysql.com:/home/alexi/innodb/mysql-4.1-merged
-
unknown authored
Applied innodb-4.1-ss17 snapshot. Do not mistake TABLENAME_ibfk_0 for auto-generated id. innobase/dict/dict0dict.c: Applied innodb-4.1-ss17 snapshot. dict_table_get_highest_foreign_id(): Ignore foreign constraint identifiers starting with the pattern TABLENAME_ibfk_0 (BUG#16387). mysql-test/r/innodb.result: Applied innodb-4.1-ss17 snapshot. Fixed results for added test case. mysql-test/t/innodb.test: Applied innodb-4.1-ss17 snapshot. Added test case.
-
- 27 Jan, 2006 7 commits
-
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
-
unknown authored
into c-5c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug12796
-
unknown authored
-
unknown authored
into c-5c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug12796
-
unknown authored
mysql-test/t/disabled.def: Enable the kill test
-
unknown authored
Cloned off 4.1.18, new release number 4.1.19 configure.in: New release number
-
unknown authored
Generated "libmysql.ver" will be in \$(top_builddir) configure.in: Generated "libmysql.ver" will be in \$(top_builddir)
-
- 26 Jan, 2006 6 commits
-
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug8-4.1
-
unknown authored
into mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/mysql-4.1
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug8-4.1 sql/sql_select.cc: Auto merged
-
unknown authored
mysql-test/t/rpl_ignore_table-slave.opt: New BitKeeper file ``mysql-test/t/rpl_ignore_table-slave.opt'' mysql-test/t/rpl_ignore_table.test: New BitKeeper file ``mysql-test/t/rpl_ignore_table.test''
-
unknown authored
sql/sql_parse.cc: BUG#15699,16487 merge of the fix made in 5.0 mysql-test/r/rpl_multi_update4.result: New BitKeeper file ``mysql-test/r/rpl_multi_update4.result'' mysql-test/t/rpl_multi_update4-slave.opt: New BitKeeper file ``mysql-test/t/rpl_multi_update4-slave.opt'' mysql-test/t/rpl_multi_update4.test: New BitKeeper file ``mysql-test/t/rpl_multi_update4.test'' mysql-test/r/rpl_ignore_table.result: New BitKeeper file ``mysql-test/r/rpl_ignore_table.result''
-
unknown authored
-
- 25 Jan, 2006 4 commits
-
-
unknown authored
-
unknown authored
-
unknown authored
Small fix after merge of fix for bug#16510 sql/sql_base.cc: Small fix after merge of fix for bug#16510
-
unknown authored
mysql-test/r/update.result: Testcase for BUG#15935 mysql-test/t/update.test: Testcase for BUG#15935 sql/sql_update.cc: BUG#15935: - Do account for the fact that used_index!=MAX_KEY is also true for cases when quick select is used, and use quick select then (and not full index scan). - Also removed the redundant "used_index= MAX_KEY" statement
-
- 24 Jan, 2006 3 commits
- 23 Jan, 2006 6 commits
-
-
unknown authored
When setup_fields() function finds field named '*' it expands it to the list of all table fields. It does so by checking that the first char of field_name is '*', but it doesn't checks that the '* is the only char. Due to this, when updating table with a field named like '*name', such field is wrongly treated as '*' and expanded. This leads to making list of fields to update being longer than list of the new values. Later, the fill_record() function crashes by dereferencing null when there is left fields to update, but no more values. Added check in the setup_fields() function which ensures that the field expanding will be done only when '*' is the only char in the field name. mysql-test/t/update.test: Added test case for bug#16510: Updating field named like '*name' caused server crash mysql-test/r/update.result: Added test case for bug#16510: Updating field named like '*name' caused server crash sql/sql_base.cc: Fixed bug #16510: Updating field named like '*name' caused server crash. Added check in the setup_fields() function which ensures that the field expanding will be done only when '*' is the only char in the field name.
-
unknown authored
into phoenix.(none):/data/mysql-4.1-BK
-
unknown authored
into april.(none):/home/svoj/devel/mysql/BUG16489/mysql-4.1
-
unknown authored
Fixed that UPDATE statement crashes multi-byte charset fulltext index. myisam/ft_update.c: Fixed that UPDATE statement crashes multi-byte charset fulltext index. While updating, always rewrite multi-byte charset fulltext index. mysql-test/r/fulltext2.result: Added a testcase for BUG#16489. mysql-test/t/fulltext2.test: Added a testcase for BUG#16489.
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/bug14634/my41-bug14634
-
unknown authored
into phoenix.(none):/data/mysql-4.1-BK
-
- 21 Jan, 2006 3 commits