summaryrefslogtreecommitdiff
path: root/sql-common
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
* This line missed in the fix #2208hf@deer.(none)2004-02-131-1/+2
|
* Client character set is now not set from the server value.bar@bar.intranet.mysql.r18.ru2004-02-041-38/+25
|
* Names of all client methods (static functions inside client.c) now konstantin@oak.local2003-12-221-9/+9
| | | | uniform: cli_ + member name.
* mergemonty@mysql.com2003-12-191-1/+2
|\
| * Fixes after merge with 4.0monty@mysql.com2003-12-191-2/+5
| | | | | | | | | | | | Cleaned up embedded library access and query cache handling Changed min stack size to 128K (to allow longer MyISAM keys) Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
* | Fix for #2126 (mysql_server_init call shouldn't be needed)hf@deer.(none)2003-12-181-1/+2
|/ | | | | | now mysql_server_init is called from mysql_init with fake parameters mysql_once_init code included to mysql_server_init. embedded-specific initialization is in init_embedded_server function
* Merge bk-internal.mysql.com:/home/bk/mysql-4.1konstantin@mysql.com2003-11-281-1/+1
|\ | | | | | | into mysql.com:/home/kostja/mysql/mysql-4.1-root
| * cleanup: comment moved to proper placekonstantin@oak.local2003-11-281-1/+1
| |
* | Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2003-11-282-5/+27
|\ \ | |/ |/| | | into mysql.com:/my/mysql-4.1
| * Mergemonty@mysql.com2003-11-282-5/+27
| |\
| | * Added missing SSL library (Should be in source distribution)monty@mysql.com2003-11-282-5/+27
| | | | | | | | | | | | | | | | | | | | | Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler) Added a lot of 'version_xxx' strings to 'show variables' Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris) Fixed problem with printing sub selects to debug log
* | | BK automerge tends to eat break; statementskonstantin@oak.local2003-11-281-0/+1
| | |
* | | Merge mysql.com:/home/kostja/mysql/mysql-4.1-rootkonstantin@mysql.com2003-11-281-3/+20
|\ \ \ | |/ / |/| | | | | into mysql.com:/home/kostja/mysql/mysql-4.1-wl519
| * | Second part of WL #519:konstantin@oak.local2003-11-281-3/+21
| |/ | | | | | | | | | | | | | | Client option secure-auth deployed on all possible layers: - mysql client command-line and config file option - mysql_options option MYSQL_SECURE_AUTH - mysql_real_connect will automatically take into account that option if mysql->options.my_cnf_file/my_cnf_group is set
* | fix:konstantin@oak.local2003-11-281-0/+2
|/ | | | 2 forgotten 'break;' statements added
* Don't flush cur_log (relay log) on flush_relay_log_info becasue this crashes ↵monty@mysql.com2003-11-221-6/+0
| | | | | | | | the server if cur_log is 'hot' and the io_thread has changed log file. Updated project files for windows Made rpl_change_master.test portable Ensure that mutex are not freed if not initilized
* Merge key cache structures to onemonty@mysql.com2003-11-201-8/+9
| | | | Fixed compiler warnings (IRIX C compiler and VC++)
* CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTSmonty@mashka.mysql.fi2003-11-181-2/+14
| | | | | | | | | | New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables. ALTER TABLE table_name ... CHARACTER SET ... now changes all char/varchar/text columns to the given character set (One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set) Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib) New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones) Removed compiler warnings Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
* Removed some warnings reported by valgrindmonty@narttu.mysql.fi2003-11-041-1/+1
| | | | | After merge fixes. Now code compiles, but there is still some valgrind warnings that needs to be fixed
* Portability fixes for windowsmonty@mashka.mysql.fi2003-10-151-2/+2
| | | | After merge fixes
* Fixes after mergemonty@narttu.mysql.fi2003-10-081-4/+0
|
* Fix for bugs #1437, #1446hf@deer.(none)2003-10-041-1/+2
|
* SCRUMhf@deer.(none)2003-09-291-1/+6
| | | | | | embedded library some fixes - cleanup procedure changed for embedded library - deletion of embedded mysql->thd
* Mergehf@deer.(none)2003-09-261-3/+4
|\
| * SCRUM:hf@deer.(none)2003-09-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | WL#604 Privileges in embedded library code added to check privileges in embedded library NO_EMBEDDED_ACCESS_CHECKS macros inserted in code so we can exclude access-checking parts. Actually we now can exclude these parts from standalone server as well. Do we need it? Access checks are disabled in embedded server by default. One should edit libmysqld/Makefile manually to get this working. We definitely need the separate configure for embedded server
* | SCRUMhf@deer.(none)2003-09-191-3/+6
| | | | | | | | | | prepared statements in embedded library. some fixes after testing
* | SCRUMhf@deer.(none)2003-09-181-2/+2
| | | | | | | | | | | | | | | | | | embedded library some dirty places cleaned: uint removed from mysql.h as Miguel suggested empty_string renamed as my_empty_string to get rid of name's intersections using embedded library
* | SCRUM:hf@deer.(none)2003-09-181-4/+4
|/ | | | | | | | | embedded library I decided to get rid of #define mysql_some_function in mysql.h It puzzles users and makes problems with dynamic libraries Finally, there are only two functions left, that are covered with the #define-s and it won't hurt performance at all
* SCRUM:hf@deer.(none)2003-09-171-1/+2
| | | | prepared statements in embedded library
* SCRUMhf@deer.(none)2003-09-171-4/+5
| | | | prepared statements in embedded library
* SCRUMhf@deer.(none)2003-09-161-8/+9
| | | | | | | | Prepared statements in embedded server Several changes in library code with two goals: to make mysql_prepare_stmt working in embedded server to get rid of #define mysql_interface_func mysql->methods->interface_func in user's interface
* SCRUM:hf@deer.(none)2003-09-121-1/+2
| | | | #977 Prepared statements in embedded library
* SCRUMhf@deer.(none)2003-09-111-1/+3
| | | | | | embedded&client library some fixes: zero at the end of the data added mysql_list_fields became 'virtual'
* merge commit, hope that none of bar and dlenev changes werekostja@oak.local2003-09-031-102/+68
|\ | | | | | | lost.
| * manual mergekostja@oak.local2003-07-311-102/+67
| |\