- 04 Dec, 2006 1 commit
-
-
andrey@example.com authored
with other alterations causes lost tables Using RENAME clause combined with other clauses of ALTER TABLE led to data loss (the data was there but not accessible). This could happen if the changes do not change the table much. Adding and droppping of fields and indices was safe. Renaming a column with MODIFY or CHANGE was unsafe operation, if the actual column didn't change (changing from int to int, which is a noop) Depending on the storage engine (SE) the behavior is different: 1)MyISAM/MEMORY - the ALTER TABLE statement completes without any error but next SELECT against the new table fails. 2)InnoDB (and every other transactional table) - The ALTER TABLE statement fails. There are the the following files in the db dir - `new_table_name.frm` and a temporary table's frm. If the SE is file based, then the data and index files will be present but with the old names. What happens is that for InnoDB the table is not renamed in the internal DDIC. Fixed by adding additional call to mysql_rename_table() method, which should not include FRM file rename, because it has been already done during file names juggling.
-
- 29 Nov, 2006 7 commits
-
-
msvensson@shellback.(none) authored
into shellback.(none):/home/msvensson/mysql/yassl_import/my51-yassl_import
-
msvensson@shellback.(none) authored
-
msvensson@shellback.(none) authored
into shellback.(none):/home/msvensson/mysql/yassl_import/my51-yassl_import
-
msvensson@shellback.(none) authored
-
ramil/ram@myoffice.izhnet.ru authored
into mysql.com:/usr/home/ram/work/bug22229/my51-bug22229
-
msvensson@shellback.(none) authored
into shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
-
ramil/ram@myoffice.izhnet.ru authored
into mysql.com:/usr/home/ram/work/bug22229/my51-bug22229
-
- 28 Nov, 2006 5 commits
-
-
tsmith/tim@siva.hindu.god authored
Update test result due to fix for bug 23883.
-
cmiller@zippy.cornsilk.net authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
-
cmiller@zippy.cornsilk.net authored
-
ramil/ram@myoffice.izhnet.ru authored
into mysql.com:/usr/home/ram/work/bug21587/my51-bug21587
-
ramil/ram@myoffice.izhnet.ru authored
into mysql.com:/usr/home/ram/work/bug21587/my51-bug21587
-
- 27 Nov, 2006 9 commits
-
-
tsmith/tim@siva.hindu.god authored
-
jpipes@shakedown.(none) authored
into shakedown.(none):/home/jpipes/dev/mysql-5.0-maint
-
jpipes@shakedown.(none) authored
into shakedown.(none):/home/jpipes/dev/mysql-5.1-new-maint2
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
Don't link mysql_upgrade with mysys
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
-
Problems (appear only under some circumstances): 1. we get a reference to a deleted table searching in the thd->handler_tables_hash in the mysql_ha_read(). 2. DBUG_ASSERT(table->file->inited == handler::NONE); assert fails in the close_thread_table(). Fix: end open index scans and table scans and remove references to the tables from the handler tables hash. After this preparation it is safe to close the tables. The close can no longer fail on open index/table scans and the closed table will not be used again by handler functions.
-
- 24 Nov, 2006 7 commits
-
-
kaa@polly.local authored
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
-
kaa@polly.local authored
into polly.local:/home/kaa/src/maint/mysql-5.0-maint
-
kaa@polly.local authored
into polly.local:/tmp/maint/bug22077/my51-bug22077
-
knielsen@ymer.(none) authored
into ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca
-
knielsen@ymer.(none) authored
into ymer.(none):/usr/local/mysql/tmp/mysql-5.1-new-maint
-
knielsen@ymer.(none) authored
into ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca
-
knielsen@ymer.(none) authored
traces in Valgrind (broken libc6-dbg). Installing libc6-dbg on Debian will still provide proper bactraces, even without setting LD_LIBRARY_PATH explicitly.
-
- 23 Nov, 2006 11 commits
-
-
msvensson@neptunus.(none) authored
since that is where the lang files etc are
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
Remove other warnings about unused variables
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
-
msvensson@neptunus.(none) authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
-
msvensson@neptunus.(none) authored
And it's not an "opt"
-
msvensson@neptunus.(none) authored
-
msvensson@neptunus.(none) authored
- Put 'my_getpagesize' in it's own .c file - Map the call 'my_getpagesize' directly to 'getpagesize' if it exists - Add default implementation for 'my_getpagesize' to be used if no platform specfic function exists
-