summaryrefslogtreecommitdiff
path: root/libmysql
Commit message (Collapse)AuthorAgeFilesLines
* - fixed tabbing and added several missing symbols (required forlenz@mysql.com2004-07-131-2/+14
| | | | linking with PHP5) (thanks to Georg Richter for the patch)
* client.c, libmysql.c:paul@kite-hub.kitebird.com2004-06-302-3/+3
| | | | | | | | Symbol spelling change. errmsg.c: Client error message edits. errmsg.h: Two symbol spelling changes.
* Reword some client error messages.paul@kite-hub.kitebird.com2004-06-291-56/+56
|
* Fix for compilation failure on high-byte-first platforms.konstantin@mysql.com2004-06-261-3/+3
|
* Merge with 4.0 to get the latest bug patches to 4.1monty@mysql.com2004-06-251-0/+3
|\
| * lower_case_table_names=2 (Keep case for table names) was not honoredmonty@mysql.com2004-06-231-0/+2
| | | | | | | | | | with ALTER TABLE and CREATE/DROP INDEX. (Bug #3109) Make net_buffer_length visible for mysql clients (Bug #4206)
| * Merge mysql.com:/home/my/mysql-3.23 into mysql.com:/home/my/mysql-4.0monty@mysql.com2004-06-181-1/+2
| |\
| | * Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-3.23guilhem@mysql.com2004-06-171-1/+2
| | |\ | | | | | | | | | | | | into mysql.com:/home/mysql_src/mysql-3.23
| | | * Fix for BUG#4017 "mysql_real_connect buffer overflow"guilhem@mysql.com2004-06-171-1/+2
| | | |
* | | | Type of MYSQL_BIND::buffer changed to void *konstantin@mysql.com2004-06-251-4/+4
| | | |
* | | | Fix for Bug#4030 "Client side conversion string -> date type doesn't konstantin@mysql.com2004-06-242-28/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fixes to make client_test run on 64 bit Sun: a bug in libmysql and konstantin@mysql.com2004-06-221-5/+5
| | | | | | | | | | | | | | | | test suite fixed.
* | | | mergemonty@mysql.com2004-06-211-12/+15
|\ \ \ \
| * | | | Fixed some byte order bugs with prepared statements on machines with ↵monty@mysql.com2004-06-181-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | high-byte-first. (Bug #4173) Fixed problem with NULL and derived tables (Bug #4097) Cleanup of new pushed code
* | | | | swapping lines to make gcc happyguilhem@mysql.com2004-06-191-1/+1
| | | | |
* | | | | Merge gbichot@213.136.52.20:/home/bk/mysql-4.1guilhem@mysql.com2004-06-181-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/home/mysql_src/mysql-4.1-874
| * | | | | API change: mysql_shutdown() now requires a 2nd argument, the shutdown level.guilhem@mysql.com2004-06-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysqld >=4.1.3 will however understand shutdown requests sent by clients <4.1.3. And mysqld <4.1.3 will understand shutdown requests sent by clients >=4.1.3 (it will ignore the level). Those shutdown level are just PLACEHOLDERS now. So this change is just to make the 4.1 API suitable before it is frozen. Later we will actually implement the shutdown levels.
| * | | | | API change: mysql_shutdown() now needs a 2nd parameter, the shutdown level.guilhem@mysql.com2004-06-151-2/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Server will however still accept shutdown without specified level; so that old mysqladmin can still shut server down. I would like your comments on the names of shutdown level which I chose. You are welcome to propose better names. Please however check WL#709 before. Reason for the names I propose is to be accurate, thus leaving possibility for other levels which we may imagine in the future; that's why I have rejected names like "fast", "smart", "graceful" so far. My position is that WAIT_ALL_BUFFERS or WAIT_CRITICAL_BUFFERS say what the shutdown does, whereas for "smart", "fast" you need to remember what it does. This should be pushed in 4.1.3 but only after your comments.
* | | | | - mysql_stmt_send_long_data commented. A few other comments.konstantin@mysql.com2004-06-171-7/+35
| | | | |
* | | | | Comments and cleanups in client library.konstantin@mysql.com2004-06-161-154/+236
| | | | |
* | | | | Another place where Bug#4079 "error checking in prepared statements"konstantin@mysql.com2004-06-161-0/+1
| | | | | | | | | | | | | | | | | | | | pops up fixed.
* | | | | Fixed to compile with IBM C Compiler for AIX Version 6konstantin@mysql.com2004-06-151-3/+3
|/ / / /
* | | | Fix for Bug#4079 "error checking in prepared statements": konstantin@mysql.com2004-06-111-0/+7
| | | | | | | | | | | | | | | | reset mysql->status if there was an error in row reading.
* | | | 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>
* | | | Proposed fix for Bug#4026 "Microseconds part of TIME/DATETIME types konstantin@mysql.com2004-06-091-29/+97
| | | | | | | | | | | | | | | | | | | | is broken (prepared statements)": fixed date handling in many places of prepared statements code.
* | | | mysql_stmt_field_count()konstantin@mysql.com2004-06-062-0/+11
| | | |
* | | | More comments in prepared statements code.konstantin@mysql.com2004-06-061-78/+153
| | | |
* | | | Added authentication code that was missed in mergemonty@mysql.com2004-06-031-51/+1
| | | | | | | | | | | | | | | | Added new windows configuration
* | | | Merge with 4.0 to get fixes for netwaremonty@mysql.com2004-06-021-1/+1
|\ \ \ \ | |/ / /
| * | | mysql_get_parameter interface fixedhf@deer.(none)2004-05-311-1/+1
| | | |
* | | | Made my_snprintf() behavior snprintf() compatible when printing %x arguments ↵dlenev@brandersnatch.localdomain2004-05-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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 with 4.0 to get windows fixesmonty@mysql.com2004-05-272-2/+9
|\ \ \ \ | |/ / /
| * | | Fix to make Windows compilation smootherhf@deer.(none)2004-05-262-18/+9
| | | |
* | | | Changed prototype of killed_ptr() to make it more portablemonty@mysql.com2004-05-262-2/+4
| | | | | | | | | | | | | | | | Applied patches for Netware
* | | | Merge with 4.0 to get fixes for Windows project filesmonty@mysql.com2004-05-251-1/+1
|\ \ \ \ | |/ / /
| * | | New MYSQL_SERVER_SUFFIX usage (for easier compilation)monty@mysql.com2004-05-251-1/+1
| | | | | | | | | | | | | | | | Update of VC++ project files.
* | | | Support for character set conversion in binary protocol: another gokonstantin@mysql.com2004-05-251-82/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after Monty's review. - Item_param was rewritten. - it turns out that we can't convert string data to character set of connection on the fly, because they first should be written to the binary log. To support efficient conversion we need to rewrite prepared statements binlogging code first.
* | | | Fixes for #3371, #3372, #3374, #3375, #3376hf@deer.(none)2004-05-151-24/+30
| | | |
* | | | Fix VC++ compiler error (function redifinition) for embedded servermiguel@hegel.local2004-05-101-1/+1
| | | |
* | | | Added additional parameter userdata for mysql_set_local_infile_handlergeorg@beethoven.local2004-05-071-4/+9
| | | | | | | | | | | | | | | | to allow binding of userland functions in PHP.
* | | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2004-05-072-7/+9
|\ \ \ \ | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.1
| * | | | Portability fixesmonty@mysql.com2004-05-072-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Change strtoll -> my_strtoll10() Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems (Bug #3472)
* | | | | mysql_stmt_reset now expects ok/error packet from server.konstantin@mysql.com2004-05-061-1/+2
|/ / / /
* | | | Fix to handle unsigned data in prepared statements (Bug #3447)monty@mysql.com2004-05-041-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | Fixed security problem that password was temporarly reset when someone changed GRANT for a user. (Bug #3404) Fixed problem with PROCEDURE analyse() and impossible WHERE (Bug #2238) Don't auto-repair tables in mysqlcheck if table type doesn't support 'check' command.
* | | | Only calculate MYSQL_FIELD->max_length if mysql_stmt_attr_set(..., ↵monty@mysql.com2004-04-301-7/+4
| | | | | | | | | | | | | | | | STMT_ATTR_UPDATE_MAX_LENGTH) is done.
* | | | Mergemonty@mysql.com2004-04-301-8/+173
|\ \ \ \
| * | | | Update 'MYSQL_FIELD->max_length' on mysql_stmt_store_result() (Bug #1647)monty@mysql.com2004-04-301-8/+173
| | | | | | | | | | | | | | | | | | | | Added checking of cut read lines in bootstrap thread (Bug #2874)
* | | | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1konstantin@mysql.com2004-04-301-29/+30
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/home/kostja/mysql/mysql-4.1-u2
| * | | | | Fix for Bug#3035 "Prepared statement integer inserts": now unsignedkonstantin@mysql.com2004-04-301-29/+30
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flag is sent to server with placeholder types. There were no need to extend the protocol as one additional byte was reserved for placeholder code, when placeholder code is in range 0-255. So this byte is now used for flags. Post-review fixes added.
* | | | | Implementation of mysql_stmt_attr_get and mysql_stmt_attr_set konstantin@mysql.com2004-04-302-0/+52
|/ / / / | | | | | | | | | | | | | | | | requested by Monty for Bug#1647 (No way to determine what size blob/clob is being returned into bound buffer)