summaryrefslogtreecommitdiff
path: root/sql-common/client.c
Commit message (Collapse)AuthorAgeFilesLines
* Mergejimw@mysql.com2005-01-111-22/+38
|\
| * Replace all sprintf() calls with my_snprintf() in client.c. All of thejimw@mysql.com2005-01-091-22/+38
| | | | | | | | | | format strings (in all languages) already included field limits on the specifiers, so this is just protection against future mistakes. (Bug #7556)
* | mergedserg@sergbook.mysql.com2005-01-061-3/+4
|\ \ | |/
| * client.c:paul@kite-hub.kitebird.com2005-01-041-2/+3
| | | | | | | | | | | | | | Make multi-statements the preferred option name (to coincide with the renaming of the CLIENT_MULTI_RESULTS symbol to CLIENT_MULTI_STATEMENTS). Continue to allow multi-queries for backward compatibility.
* | manually mergedserg@sergbook.mysql.com2004-12-311-2/+12
|\ \ | |/
| * fix indentationwax@kishkin.ru2004-12-231-2/+2
| | | | | | | | | | | | add space after comma add space after equal add comments in vio_close_shared_memory()
| * BUG#6056 wax@kishkin.ru2004-12-141-1/+11
| | | | | | | | | | | | | | | | | | (continue) added event_conn_closed replaced WaitForSingleObject on WaitForMultipleObjects inserted a check in vio_close() added SetEvent() for event_conn_closed
* | Merge bk-internal.mysql.com:/home/bk/mysql-5.0petr@mysql.com2004-12-181-3/+0
|\ \ | | | | | | | | | into mysql.com:/home/cps/mysql/trees/mysql-5.0
| * | BUG#7384 IM fails to compile on Solaris.petr@mysql.com2004-12-181-3/+0
| | | | | | | | | | | | | | | Solaris doesn't define INADDR_NONE macro. This resulted in compilation failure. (advanced fix)
* | | Truncations patch: a post-review fix. konstantin@mysql.com2004-12-181-0/+8
|/ /
* | Changing the default of libmysqlclient : it's now NO reconnection.guilhem@mysql.com2004-12-091-1/+18
| | | | | | | | | | | | | | All our programs which use mysql_real_connect() and mysql_connect() are updated accordingly, though I have deliberately made mysqlimport not reconnect anymore (already true for mysqldump >= 4.1.8). All Connector devs have been warned about the change I'm doing here - which was agreed with Monty, and fixes BUG#2555.
* | After merge fixesmonty@mysql.com2004-12-061-1/+1
| | | | | | | | | | Fixed compiler warnings Fix core dump when sending SIGHUP to mysqld
* | 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-291-19/+34
|\ \ | |/
| * Added missing initialiermonty@mysql.com2004-10-261-2/+2
| |
| * A lot of fixes for prepared statements (PS):monty@mysql.com2004-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * 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().
* | | | Merge with 4.1monty@mysql.com2004-09-061-7/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | (Includes merge of arena code in 4.1 and 5.0)
| * | | 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)
| * | | | 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
| |/
* | Merge with 4.1.3-betamonty@mysql.com2004-07-071-32/+91
|\ \ | |/
| * 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
| |
| * 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)
| * New call mysql_stmt_init() introduced.konstantin@mysql.com2004-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renames: mysql_bind_param -> mysql_stmt_bind_param mysql_bind_result -> mysql_stmt_bind_result mysql_execute -> mysql_stmt_execute mysql_fetch -> mysql_stmt_fetch mysql_fetch_column -> mysql_stmt_fetch_column mysql_get_metadata -> mysql_stmt_result_metadata mysql_param_count -> mysql_stmt_param_count mysql_param_result -> mysql_stmt_param_metadata mysql_prepare -> mysql_stmt_prepare mysql_send_long_data -> mysql_stmt_send_long_data client_test.c cleaned up from memory leaks
| * Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mashka.mysql.fi2004-02-221-6/+8
| |\ | | | | | | | | | into mashka.mysql.fi:/home/my/mysql-4.1
| | * After merge fixesmonty@mashka.mysql.fi2004-02-221-6/+8
| | | | | | | | | | | | Fixed wrong test of database name (affected optimization of ORDER BY)
| * | Fix for #1429 (Segfault in mysql_stmt_close)hf@deer.(none)2004-02-201-1/+1
| |/ | | | | | | | | | | | | | | Problem was that we checked for existing connection in stmt_close and did not free(stmt) if it's closed (that didn't work well with embedded) I just added new flag to the stmt_close and now we check it instead of connection
| * Fix for #2212 (mysql_change_user doesn't work in embedded library)hf@deer.(none)2004-02-141-1/+2
| | | | | | | | now it's working