- 11 Aug, 2005 9 commits
-
-
igor@rurik.mysql.com authored
Fixed bug #12382. INSERT statement effectively changed thd->set_query_id to 0, while SELECT statement changed it to 0. As a result the insert_fields function that expanded '*' was called with different values of thd->set_query_id for the query SELECT * FROM view depending on whether it was run after an INSERT or after a SELECT statement. This was corrected by restoring the old value of thd->set_query_id when returning from the function setup_fields where possible reset could occur. If the value of thd->set_query_id == 0 then the fields substituted instead of '*' were not registered as used for bitmaps used_keys. This caused selection of an invalid execution plan for the query SELECT * from <view>. view.result, view.test: Added a test case for bug #12382.
-
acurtis@xiphis.org authored
into xiphis.org:/usr/home/antony/work2/merge-5.0
-
acurtis@xiphis.org authored
-
jani@ua141d10.elisa.omakaista.fi authored
sql_print_warning() and sql_print_error() instead of fprintf to stderr. Above functions are tuned for different platforms so that the behavior is consistent around platforms. Using fprintf() different behavior can be expected at least on Windows and Unix.
-
acurtis@xiphis.org authored
into xiphis.org:/usr/home/antony/work2/merge-5.0
-
sanja@arthur.local authored
postmerge fix
-
bell@51.0.168.192.in-addr.arpa authored
-
dlenev@mysql.com authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg11973-2
-
bell@51.0.168.192.in-addr.arpa authored
-
- 10 Aug, 2005 16 commits
-
-
acurtis@xiphis.org authored
into xiphis.org:/usr/home/antony/work2/p2-bug10109.4
-
sergefp@mysql.com authored
into mysql.com:/home/psergey/mysql-5.0-bug12228-r5
-
sergefp@mysql.com authored
-
bell@52.0.168.192.in-addr.arpa authored
-
konstantin@mysql.com authored
cursors (+ commit)" and Bug#11832 "Server crash with InnoDB + Cursors" See comments to the changed files.
-
konstantin@mysql.com authored
into mysql.com:/home/kostja/mysql/mysql-5.0-12243
-
konstantin@mysql.com authored
-
reggie@linux.site authored
into linux.site:/home/reggie/bk/mysql-5.0-new
-
hf@deer.(none) authored
-
mskold@mysql.com authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
-
konstantin@mysql.com authored
subqry order by server crash": failing DBUG_ASSERT(curr_join == this) when opening a cursor. Ensure that for top-level join curr_join == join (always), and thus fix the failing assert. curr_join is a hack to ensure that uncacheable subqueries can be re-evaluated safely, and should be never different from main join in case of top-level join.
-
mskold@mysql.com authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
-
mskold@mysql.com authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
-
mskold@mysql.com authored
-
dlenev@mysql.com authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg12280
-
dlenev@mysql.com authored
We should not allow FLUSH statement to be executed inside both triggers and stored functions.
-
- 09 Aug, 2005 15 commits
-
-
dlenev@mysql.com authored
cause crash on update". Let us update "thd" pointer in LEX, all its units and in LEX::result before executing statement in trigger body, since triggers are associated with TABLE object and because of this can be used in different threads.
-
evgen@moonbone.local authored
into moonbone.local:/work/mysql-5.0-bug-12340
-
reggie@monster. authored
into monster.:D:/Work/mysql/mysql-5.0
-
reggie@monster. authored
str_alloc had been added but was not added to mysqlclient and strings libmysql should have had strings as a dependent.
-
evgen@moonbone.local authored
When PRIMARY KEY is present ha_innobase::cmp_ref() uses it to compare refs. After comparing part of key it moves pointers to compare next part. For varchar parts pointers were moved only by length of parts, not including bytes containig part length itself. This results in wrong comparision and wrong number of deleted records.
-
acurtis@xiphis.org authored
into xiphis.org:/usr/home/antony/work2/p2-bug10109.3
-
reggie@linux.site authored
-
reggie@linux.site authored
-
reggie@linux.site authored
-
reggie@linux.site authored
-
reggie@linux.site authored
-
jani@ua141d10.elisa.omakaista.fi authored
-
jani@ua141d10.elisa.omakaista.fi authored
-
sergefp@mysql.com authored
-
dlenev@mysql.com authored
into mysql.com:/home/dlenev/src/mysql-5.0-is
-