summaryrefslogtreecommitdiff
path: root/sql-common
Commit message (Collapse)AuthorAgeFilesLines
* After merge fixesmonty@mysql.com2004-12-061-1/+1
| | | | | Fixed compiler warnings Fix core dump when sending SIGHUP to mysqld
* mergedserg@serg.mylan2004-11-201-3/+4
|\
| * Manual merge of fix for bug #6266 "Invalid DATETIME value is not handleddlenev@mysql.com2004-11-191-3/+4
| |\ | | | | | | | | | properly" with main tree.
| | * Fix for bug #6266 "Invalid DATETIME value is not handled properly".dlenev@brandersnatch.localdomain2004-11-151-3/+4
| | | | | | | | | | | | | | | | | | | | | In server we assume that datetime values stored in MYSQL_TIME struct are normalized (and year is not greater than 9999), so we should perform range checks in all places then we convert something to MYSQL_TIME.
* | | Merge with 4.1monty@mysql.com2004-11-121-5/+18
|\ \ \ | |/ /
| * | After merge fixesmonty@mysql.com2004-11-121-5/+18
| |/
* | Fixes after merge with 4.1monty@mysql.com2004-11-031-0/+1
| | | | | | | | | | | | | | FOUND is not a reserved keyword anymore Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
* | merge with 4.1monty@mysql.com2004-10-292-19/+107
|\ \ | |/
| * A fix and test case for Bug#6096 "field.max_length is always zero for konstantin@mysql.com2004-10-271-3/+0
| | | | | | | | numeric columns (stmt_resultset_metadata)"
| * Added missing initialiermonty@mysql.com2004-10-261-2/+2
| |
| * A lot of fixes for prepared statements (PS):monty@mysql.com2004-10-262-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New mysqltest that can run mysqltest with PS Added support for ZEROFILL in PS Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result() Updated test cases to support --ps-protocol (Some tests are still run using old protocol) Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2... Fixed crash in PS when using sub queries Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever" Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries) Fix for PS and SELECT ... PROCEDURE Reset all warnings when executing a new PS query group_concat(...ORDER BY) didn't work with PS Fixed problem with test suite when not using innodb
| * Merge bk-internal.mysql.com:/home/bk/mysql-4.1konstantin@mysql.com2004-10-201-0/+72
| |\ | | | | | | | | | into mysql.com:/home/kostja/work/mysql-4.1-6049
| | * A fix and test case for Bug#6049 "Loss of sign when using prepared konstantin@mysql.com2004-10-161-0/+72
| | | | | | | | | | | | | | | | | | | | | statements and negative time/date values". The bug was in wrong sprintf format used in the client library. The fix moves TIME -> string conversion functions to sql-common and utilized them in the client library.
| * | Review of all code pushed since last reviewmonty@mishka.local2004-10-201-1/+1
| |/ | | | | | | | | | | | | Simple optimzations and cleanups Removed compiler warnings and fixed portability issues Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server Fixes for purify
| * A fix and test case for Bug#5315 "mysql_change_user() doesn't freekonstantin@mysql.com2004-09-221-14/+27
| | | | | | | | prepared statements."
| * Merge mysql.com:/home/wax/mysql/mysql-4.1wax@mysql.com2004-09-091-3/+2
| |\ | | | | | | | | | into mysql.com:/home/wax/mysql/mysql-4.1group_concat
| | * Merge mysql.com:/home/wax/mysql/mysql-4.1wax@mysql.com2004-08-191-3/+2
| | |\ | | | | | | | | | | | | into mysql.com:/home/wax/mysql/mysql-4.1group_concat
| | | * Change information text in pipe and shared memorywax@kishkin.ru2004-08-191-3/+2
| | | |
| * | | client.c:paul@ice.snake.net2004-09-061-0/+1
| | | | | | | | | | | | | | | | sqlstat uninitialized in mysql_init().
* | | | Strict mode & better warningsmonty@mishka.local2004-09-281-5/+64
| | | | | | | | | | | | | | | | | | | | | | | | Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field. Added checking of date/datetime fields. If strict mode, give error if we have not given value to field without a default value (for INSERT)
* | | | Merge with 4.1monty@mysql.com2004-09-062-7/+175
|\ \ \ \ | |/ / / | | | | | | | | | | | | (Includes merge of arena code in 4.1 and 5.0)
| * | | A fix and test case for Bug#4231 "Wrong result with MYSQL_TIMEkonstantin@mysql.com2004-09-021-0/+10
| | | | | | | | | | | | | | | | | | | | parameters": when unpacking binary time recieved from client, handle the case when length is 0: it means all MYSQL_TIME members are zero.
| * | | Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1vva@eagle.mysql.r18.ru2004-08-241-3/+2
| |\ \ \ | | | | | | | | | | | | | | | into eagle.mysql.r18.ru:/home/vva/work/BUG_4998/mysql-4.1
| | * | | more accurate processing of find_type resultvva@eagle.mysql.r18.ru2004-08-241-3/+2
| | | | | | | | | | | | | | | | | | | | (Bug #4998 --protocol doesn't reject bad values)
| * | | | Fixed windows-specific warning about undeclared localtime_r() in my_time.c.dlenev@brandersnatch.localdomain2004-08-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | We have to include my_pthread.h since it is the place where localtime_r() is declared on platforms where this function is missing.
| * | | | Bug #4629 Crash after SLAVE STOP, if the IO thread is in special state.rburnett@build.mysql.com2004-08-231-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client.c: Removed call to clear_slave_vio in end_server(). Removed header declaration of clear_slave_vio slave.cc: Removed clear_slave_vio function and added calls to thd->clear_active_vio before each call to end_server()
| * | | | Bug #4629 Crash after SLAVE STOP, if the IO thread is in special state.rburnett@build.mysql.com2004-08-211-0/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | client.c: Added call to clear_slave_vio inside end_server only when under Windows with repliaction slave.cc: Added clear_slave_vio function for clearing active vio on THD under Windows replication
| * | | Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1hf@deer.(none)2004-08-191-3/+4
| |\ \ \ | | |/ / | |/| | | | | | into deer.(none):/home/hf/work/mysql-4.1.emb
| | * | Fixes for bugs in embedded library:hf@deer.(none)2004-07-221-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #4700 (Unsigned value returned as signed) just no appropriate checking #4701 (Errors returned earlier than expected) all errors returned from send_command() #4702 (Result isn't freed properly if there's no retrieval) flush_use_result has only 'client' version and should be made 'virtual'
| * | | after merge fixesserg@serg.mylan2004-08-191-1/+1
| | |/ | |/|
| * | - removed several C++-style comments (//) - these confuse the IBMlenz@mysql.com2004-08-031-5/+5
| | | | | | | | | | | | compiler
| * | syntax fix: superfluous ';' which caused a problem with gcc 2.95guilhem@mysql.com2004-07-301-1/+1
| | |
| * | WL#1580: --start-datetime, --stop-datetime, --start-position (alias for ↵guilhem@mysql.com2004-07-291-0/+155
| |/ | | | | | | | | | | | | | | | | | | | | --position) and --stop-position options for mysqlbinlog, with a test file. This enables user to say "recover my database to how it was this morning at 10:30" (mysqlbinlog "--stop-datetime=2003-07-29 10:30:00"). Using time functions into client/ made me move them out of sql/ into sql-common/. + (small) fix for BUG#4507 "mysqlbinlog --read-from-remote-server sometimes cannot accept 2 binlogs" (that is, on command line).
* | Merge with 4.1.3-betamonty@mysql.com2004-07-073-33/+653
|\ \ | |/
| * client.c, libmysql.c:paul@kite-hub.kitebird.com2004-06-301-2/+2
| | | | | | | | | | | | | | | | Symbol spelling change. errmsg.c: Client error message edits. errmsg.h: Two symbol spelling changes.
| * After merge fixesmonty@mysql.com2004-06-251-0/+4
| |
| * - fixed test_frm_bug test to work with increased number of columns inkonstantin@mysql.com2004-06-241-0/+561
| | | | | | | | result of SHOW TABLE STATUS
| * Fix for Bug#4030 "Client side conversion string -> date type doesn't konstantin@mysql.com2004-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | work (prepared statements)" and after-review fixes: - str_to_TIME renamed to str_to_datetime to pair with str_to_time - functions str_to_time and str_to_TIME moved to sql-common - send_data_str now supports MYSQL_TYPE_TIME, MYSQL_TIME_DATE, MYSQL_TIME_DATETIME types of user input buffers. - few more comments in the client library - a test case added.
| * After merge fixesmonty@mysql.com2004-06-211-1/+2
| | | | | | | | Return NULL if a time argument is given to date_add(). (Warning will be shown after Dimitri's timezone patch is pushed)
| * assert.h needed for my_dbug.h now is included in my_dbug.h, where it for konstantin@mysql.com2004-06-101-1/+0
| | | | | | | | | | some reason wasn't included before. A lot of files cleaned up from #include <assert.h>
| * client.c:bar@bar.intranet.mysql.r18.ru2004-06-071-26/+25
| | | | | | | | Bug #3990 `--with-charset' ./configure's switch doesn'taffect mysql client library.
| * Added authentication code that was missed in mergemonty@mysql.com2004-06-031-1/+57
| | | | | | | | Added new windows configuration
| * Made my_snprintf() behavior snprintf() compatible when printing %x arguments ↵dlenev@brandersnatch.localdomain2004-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | (it should produce hex digits in lower case). (fixed version) Replaced _dig_vec array with two _dig_vec_upper/_dig_vec_lower arrays. Added extra argument to int2str function which controls case of digits you get. Replaced lot of invocations of int2str for decimal radix with more optimized int10_to_str() function. Removed unused my_itoa/my_ltoa functions.
* | Merge 4.1 -> 5.0.pem@mysql.com2004-04-071-107/+124
|\ \ | |/
| * Fixed many compiler warningsmonty@mysql.com2004-04-051-1/+1
| | | | | | | | | | | | Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695, #3381 and #3319) Fixed crash when doing rollback in slave and the io thread catched up with the sql thread Set locked_in_memory properly
| * Added LOCAL INFILE callback function support.jcole@mugatu.jcole.us2004-03-221-1/+4
| |
| * Removed compiler warningmonty@mysql.com2004-03-181-0/+1
| | | | | | | | Changed _XXX to _MY_XXX to solve conflict problem on Mac OS X
| * Intermediate commit of client library (cleanups + fixes of 3 items from konstantin@mysql.com2004-03-161-33/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flaws list) TODO: * verify that no sequence of API calls produces SIGSEGV. That is, verify that mysql_stmt_init -> mysql_stmt_fetch is OK, or mysql_stmt_prepare -> mysql_stmt_fetch_column is OK and sets meaningful error. * remove alloc_stmt_fields call * revise stmt->state codes and statement states. * there are other items in prepared statements 'to fix' document. Done: - cleanups and comments - revision of prepared statement error codes. - mysql_stmt_prepare is now can always be called (that is, you can reprepare a statement) - new implementation of mysql_stmt_close and fetch cancellation
| * Rudimentary part of libmysql patch:konstantin@oak.local2004-03-121-64/+42
| | | | | | | | set_mysql_error is deployed
| * Rename:konstantin@oak.local2004-03-101-1/+1
| | | | | | | | | | read_statistic -> read_statistics (statistic is adjective)