summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1unknown2004-10-223-6/+23
|\ | | | | | | | | | | | | | | | | innobase/os/os0file.c: Auto merged innobase/row/row0ins.c: Auto merged innobase/row/row0mysql.c: Auto merged
| * os0file.c:unknown2004-10-221-4/+4
| | | | | | | | | | | | | | | | Add typecast from ulint to ssize_t in pread and pwrite, so that the type is according to the Linux man page; this will probably not help to fix the HP-UX 32-bit pwrite failure, since the compiler should do the appropriate typecasts anyway innobase/os/os0file.c: Add typecast from ulint to ssize_t in pread and pwrite, so that the type is according to the Linux man page; this will probably not help to fix the HP-UX 32-bit pwrite failure, since the compiler should do the appropriate typecasts anyway
| * row0mysql.c, row0ins.c:unknown2004-10-222-2/+19
| | | | | | | | | | | | | | | | | | | | Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users innobase/row/row0ins.c: Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users innobase/row/row0mysql.c: Fix bug #5961: release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users
* | Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-229-19/+130
|\ \ | | | | | | | | | | | | | | | | | | | | | into mysql.com:/media/sda1/mysql/mysql-4.1-6050 sql/sql_class.h: Auto merged
| * | A fix and test case for Bug#6050 "EXECUTE stmt reports ambiguous field unknown2004-10-229-19/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | names with ident. tables fr. diff. schemata": revise all uses of Item_field and make them prepared-statements friendly when necessary. mysql-test/r/ps.result: Test results fixed: the test case for Bug#6050 mysql-test/r/ps_1general.result: Test results fixed: in prepared statements we expand '*' to a list of fully qualified fields (db.table.column). mysql-test/t/ps.test: A test for Bug#6050 "EXECUTE stmt reports ambiguous fieldnames with ident. tables fr. diff. schemata" sql/item.cc: Revise all Item_field constructors: we need to make sure that no Item_field object points to unaccessible memory in prepared statements. sql/item.h: Revise all Item_field constructors: we need to make sure that no Item_field object points to unaccessible memory in prepared statements. sql/sql_base.cc: Item_field use changed to be prepared statements friendly. sql/sql_class.h: New check of Item_arena state. sql/sql_union.cc: Fixing the problem with name resolving in UNION and prepared statements: In case of SELECT a, b, c FROM t1 UNION SELECT a, b, c FROM t2 the list of selected items is represented as a List<Item_field>, where each Item_field points to a field of temporary table. But the temporary table is created anew on each execution of the prepared statement. So on each subsequent execution we should reset Item_field items to point to fields from freshly-created temporary table. sql/table.h: Comment TABLE member.
* | | fix c++ style comments in .h and .c filesunknown2004-10-2213-242/+252
| | | | | | | | | | | | | | | | | | | | | compilation problems on some platforms'
* | | Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-223-63/+62
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/jonas/src/mysql-4.1 ndb/src/mgmsrv/ConfigInfo.cpp: Auto merged ndb/src/mgmsrv/MgmtSrvr.cpp: Auto merged
| * | | compile fixes for butchunknown2004-10-213-63/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb/src/mgmsrv/ConfigInfo.cpp: Better cast ndb/src/mgmsrv/MgmtSrvr.cpp: Add default arg sql/ha_ndbcluster.cc: reorder methods, so that they are not used prior to declaration (inlines)
* | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-222-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
| * | | | use the right make in make_binary_distributionunknown2004-10-222-2/+3
| | | | |
* | | | | Merge mysql.com:/home/bk/mysql-4.1unknown2004-10-221-1/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/users/kboortz/daily/work/mysql-4.1-purify2
| * | | | | sql_parse.cc:unknown2004-10-221-1/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug#6167 One element missing in 'uc_update_queries[]' sql/sql_parse.cc: Bug#6167 One element missing in 'uc_update_queries[]'
* | | | | Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-223-8/+124
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into hundin.mysql.fi:/home/jan/talle/mysql-4.1
| * | | | | Show table status now shows creation time of the table for InnoDB. Note that unknown2004-10-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this timestamp might not be the correct time because e.g. ALTER TABLE changes this timestamp. sql/ha_innodb.cc: Do not show check_time and update_time because we do not really know them. UPDATE, INSERT and CHECK TABLE do not change these timestamps.
| * | | | | SHOW TABLE STATUS now prints create_time, update_time and check_timeunknown2004-10-213-5/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for InnoDB tables. Note that these times may always be correct ones, because for example ALTER TABLE creates a table again. innobase/include/os0file.h: Added information of file timestamps and a function os_file_get_status to get that information using stat(). innobase/os/os0file.c: Added function that return information obout the specified file. sql/ha_innodb.cc: Get timestamps for the file where the table is stored.
| * | | | | Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-211-3/+7
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into hundin.mysql.fi:/home/jan/talle/mysql-4.1 sql/ha_innodb.cc: Auto merged
| | * | | | | Fixed bug #5835 load data infile...replace error with InnoDB table.unknown2004-10-191-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sql/ha_innodb.cc: Note that LOAD DATA INFILE REPLACE also handles a duplicate key error itself, and we must not decrement the autoinc counter if we are performing that statement.
* | | | | | | mysqltest.c, mysqltest.result, mysqltest.test:unknown2004-10-223-30/+209
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added SQLSTATE matching support to test engine mysqltest.result, mysqltest.test: new file mysql-test/t/mysqltest.test: Added SQLSTATE matching support to test engine mysql-test/r/mysqltest.result: Added SQLSTATE matching support to test engine client/mysqltest.c: Added SQLSTATE matching support to test engine
* | | | | | Compile fixunknown2004-10-211-2/+3
| | | | | |
* | | | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-2110-80/+144
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
| * \ \ \ \ \ Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-2110-80/+144
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
| | * \ \ \ \ \ Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-213-25/+31
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/media/sda1/mysql/mysql-4.1-6059
| | | * \ \ \ \ \ Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-213-25/+31
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/M41/mysql-4.1
| | | | * \ \ \ \ \ Merge mysql.com:/M41/mysql-4.1 into mysql.com:/M41/push-4.1unknown2004-10-213-25/+31
| | | | |\ \ \ \ \ \
| | | | | * | | | | | Adapt 'ps_10nestset' to standard test style; correct a typing error in ↵unknown2004-10-213-25/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'ps_11bugs'. mysql-test/r/ps_10nestset.result: Correct the expected protocol according to the test changes. mysql-test/t/ps_10nestset.test: Improve comments; adapt to standard test style: disable warnings around 'drop table', use 't#' table name scheme. mysql-test/t/ps_11bugs.test: Corrected a typing error in the bug number comment.
| | * | | | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-213-8/+27
| | |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/media/sda1/mysql/mysql-4.1-6059
| | | * | | | | | | | A fix (bug #6138: MOD operator should not round non-integral argument).unknown2004-10-213-8/+27
| | | |/ / / / / / /
| | * | | | | | | | Manual merge.unknown2004-10-213-19/+59
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sql/sql_class.h: Auto merged sql/sql_prepare.cc: Auto merged tests/client_test.c: Manual merge
| | | * | | | | | | A fix and test case for bug#6059 "mysql_stmt_field_count returns unknown2004-10-213-19/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | positive numbers when no resultset is available": when sending result set metadata we need to use virtual select_result::send_fields, and not address protocol directly, because select_result descendents may intercept result set (it's the case for example for SELECT INTO OUTFILE). sql/sql_class.h: A fix for bug#6059 "mysql_stmt_field_count returns positive numbers when no resultset is available": introducing select_result::field_count() method to report actual number of fields in a result set, if any result set is sent to client. sql/sql_prepare.cc: A fix for bug#6059 "mysql_stmt_field_count returns positive numbers when no resultset is available": when sending result set metadata we need to use virtual select_result::send_fields, and not address protocol directly, because select_result descendents may intercept result set (it's the case for example for SELECT INTO OUTFILE). Now we need to always have lex->result set if we're in prepared statements. tests/client_test.c: A test case for Bug#6059 "mysql_stmt_field_count returns positive numbers when no resultset is available"
| | * | | | | | | | ctype-uca.c:unknown2004-10-211-28/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimization: move "space padding" code outside the loop strings/ctype-uca.c: Optimization: move "space padding" code outside the loop
* | | | | | | | | | more snprintf...unknown2004-10-219-126/+126
| | | | | | | | | |
* | | | | | | | | | changed to call internal snprintf/vsnprintfunknown2004-10-2179-294/+350
| | | | | | | | | |
* | | | | | | | | | some platforms provide posix snprintf via special defined, these defines ↵unknown2004-10-214-5/+40
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | however cause problems elsewhere so this is a way to only have to do this define in one file
* | | | | | | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-213-31/+44
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
| * | | | | | | | Fixed Bug#6109, 'mysql' command line client segfaults on 'quit' command.unknown2004-10-211-29/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It also did not write ~/.mysql_history file. The problem was in alloc(), which probably does not work on HP-UX-11.23 ia64 platform. Changed some macros into functions for better maintenance and debugging.
| * | | | | | | | one warning out, one warning in :-), forgot the argument in assert()unknown2004-10-212-2/+2
| | | | | | | | |
* | | | | | | | | workaround for Sun Forte compile problem for ndb on solaris 2.10unknown2004-10-211-1/+5
|/ / / / / / / /
* | | | | | | | sorry, previous comment should have been on ithanium, not IRIXunknown2004-10-211-2/+3
| | | | | | | |
* | | | | | | | use memcpy instead, other code breaks mysteriously on IRIXunknown2004-10-211-3/+6
| | | | | | | |
* | | | | | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-214-6/+122
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
| * | | | | | | CHARSET_INFO.txt:unknown2004-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Typo. strings/CHARSET_INFO.txt: Typo.
| * | | | | | | CHARSET_INFO.txt:unknown2004-10-211-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New comments about ctype[]. strings/CHARSET_INFO.txt: New comments about ctype[].
| * | | | | | | ctype_uca.result:unknown2004-10-211-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to commit in the previous changeset mysql-test/r/ctype_uca.result: Forgot to commit in the previous changeset
| * | | | | | | Bug #5679 utf8_unicode_ci LIKE--trailing % doesn't equal zero charactersunknown2004-10-212-4/+81
| | | | | | | |
* | | | | | | | Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndbunknown2004-10-2111-21/+191
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 ndb/src/mgmsrv/Services.cpp: Auto merged
| * | | | | | | | changed to same signature as rest of print functionsunknown2004-10-2111-21/+191
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | provite declarations for signal print functions, needed on some platforms ome platforms don't like the length calculation for SignalDataPrintFunction so null terminate instead ome platforms complain about this extra level Logger::Logger:: null terminate SignalDataPrintFunctions instead move declaration of print function to SignalData.hpp just change from "" to <> in include moved double declatration of i out ndb/include/kernel/signaldata/DihContinueB.hpp: changed to same signature as rest of print functions ndb/include/kernel/signaldata/NdbfsContinueB.hpp: changed to same signature as rest of print functions ndb/include/kernel/signaldata/SignalData.hpp: provite declarations for signal print functions, needed on some platforms ndb/src/common/debugger/DebuggerNames.cpp: some platforms don't like the length calculation for SignalDataPrintFunction so null terminate instead ndb/src/common/debugger/EventLogger.cpp: some platforms complain about this extra level Logger::Logger:: ndb/src/common/debugger/signaldata/ContinueB.cpp: changed to same signature as rest of print functions ndb/src/common/debugger/signaldata/DihContinueB.cpp: changed to same signature as rest of print functions ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp: changed to same signature as rest of print functions ndb/src/common/debugger/signaldata/SignalDataPrint.cpp: null terminate SignalDataPrintFunctions instead move declaration of print function to SignalData.hpp ndb/src/common/portlib/NdbSleep.c: just change from "" to <> in include ndb/src/mgmsrv/Services.cpp: moved double declatration of i out
* | | | | | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-214-3/+57
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
| * | | | | | | Allow cp932 characters to be stored in a SJIS columnunknown2004-10-214-3/+57
| |/ / / / / /
* | | | | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-2028-113/+140
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 mysql-test/ndb/ndbcluster.sh: Auto merged
| * | | | | | Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-2029-114/+141
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1