summaryrefslogtreecommitdiff
path: root/libmysql
Commit message (Collapse)AuthorAgeFilesLines
* Merge from 4.1: fix for bug #7285 (embedded server)georg@beethoven.site2004-12-301-1/+2
|
* WL#1895 - Print message to error log in case of detected MyISAM corruptioningo@mysql.com2004-12-232-1/+28
| | | | | | | | | | | | Changed my_error() to print error messages, which come from arbitrary registered ranges of error messages. Messages can be unregistered (and should be at end of the program). Added registration of handler error messages. Added a new mi_print_error() macro and a new mi_report_error() function, which supply error messages with a table name. Added calls to mi_print_error() or mi_report_error() at all places in MyISAM, where table corruption is detected.
* More work on truncations in libmysql: after-review fixes.konstantin@mysql.com2004-12-181-65/+52
|
* Truncations patch: a post-review fix. konstantin@mysql.com2004-12-181-4/+4
|
* Fixing compile-time failures in recently pushed code (aCC, Sun Studio)konstantin@mysql.com2004-12-171-8/+10
| | | | (Bug#7381)
* Portability fix in libmysql (FreeBSD)konstantin@mysql.com2004-12-161-11/+11
|
* Data truncation reporting implementation (libmysql) + post reviewkonstantin@mysql.com2004-12-161-186/+466
| | | | | | fixes. Still to do: - deploy my_strtoll10 in limbysql.c - add mysql_options option to switch MYSQL_DATA_TRUNCATED on and off.
* WL#1051, more maintanable error messages.anjuta@arthur.local2004-12-131-1/+2
|
* Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0guilhem@mysql.com2004-12-091-0/+4
|\ | | | | | | into mysql.com:/home/mysql_src/mysql-5.0-clean
| * Changing the default of libmysqlclient : it's now NO reconnection.guilhem@mysql.com2004-12-091-0/+4
| | | | | | | | | | | | | | 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.
* | Merge with new VARCHAR codemonty@mysql.com2004-12-061-0/+3
|\ \ | |/ |/|
| * Add support for up to VARCHAR (size up to 65535)monty@mysql.com2004-12-061-0/+3
| | | | | | | | | | | | | | | | | | Renamed HA_VAR_LENGTH to HA_VAR_LENGTH_PART Renamed in all files FIELD_TYPE_STRING and FIELD_TYPE_VAR_STRING to MYSQL_TYPE_STRING and MYSQL_TYPE_VAR_STRING to make it easy to catch all possible errors Added support for VARCHAR KEYS to heap Removed support for ISAM Now only long VARCHAR columns are changed to TEXT on demand (not CHAR) Internal temporary files can now use fixed length tables if the used VARCHAR columns are short
* | mergedserg@serg.mylan2004-11-201-6/+7
|\ \
| * \ Manual merge of fix for bug #6266 "Invalid DATETIME value is not handleddlenev@mysql.com2004-11-191-6/+7
| |\ \ | | | | | | | | | | | | properly" with main tree.
| | * | Fix for bug #6266 "Invalid DATETIME value is not handled properly".dlenev@brandersnatch.localdomain2004-11-151-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | merge with 4.0monty@mysql.com2004-11-121-1/+1
| |\ \
| | * | libmysql.c:bar@mysql.com2004-11-051-1/+2
| | | | | | | | | | | | | | | | After-merge clean-up
| | * | Mergebar@mysql.com2004-11-051-0/+1
| | |\ \
| | | * | libmysql.def, libmysql.c:bar@mysql.com2004-11-052-1/+2
| | | | | | | | | | | | | | | | | | | | Clean-ups
| | * | | Ensure that a source distribution contains 'libmysql/libmysql.def'joerg@mysql.com2004-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | which is needed for Netware ports.
* | | | | Merge with 4.1 to get new thd->mem_root handlingmonty@mysql.com2004-11-082-1/+3
|\ \ \ \ \ | |/ / / /
| * | | | libmysql.def, libmysql.c:bar@mysql.com2004-11-052-1/+3
| | |_|/ | |/| | | | | | | | | | Minor clean-ups
* | | | Merge with 4.1 to get in latest bug fixesmonty@mysql.com2004-11-041-16/+0
|\ \ \ \ | |/ / /
| * | | Remove support for obsolete 4.1.1 prepared statements C API names:konstantin@mysql.com2004-11-011-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | having approval for it since 4.1.4, I also have some assurance that very few people actually used this: to enable these calls a user had to #define HAVE_DEPRECATED_411_API and recompile the client library.
* | | | merge with 4.1monty@mysql.com2004-10-296-110/+197
|\ \ \ \ | |/ / /
| * | | A fix and test case for Bug#6096 "field.max_length is always zero for konstantin@mysql.com2004-10-271-2/+19
| | | | | | | | | | | | | | | | numeric columns (stmt_resultset_metadata)"
| * | | A lot of fixes for prepared statements (PS):monty@mysql.com2004-10-261-10/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Fix compiler warnings (detected by Intel's C++ compiler)monty@mysql.com2004-10-221-1/+1
| | | | | | | | | | | | | | | | Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094)
| * | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2004-10-201-0/+34
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.1
| | * | | After merge fixesmonty@mysql.com2004-10-201-2/+2
| | | | |
| | * | | Merge with 4.0monty@mysql.com2004-10-201-0/+34
| | |\ \ \ | | | |/ /
| | | * | Merge bk-internal.mysql.com:/home/bk/mysql-4.0monty@mysql.com2004-10-201-6/+4
| | | |\ \ | | | | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.0
| | | | * | Code cleanups (done during review of new code)monty@mysql.com2004-10-201-6/+4
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | Rename innodb_table_locks_old_behavior -> innodb_table_locks Set innodb_table_locks to off by default to get same behaviour as in MySQL 4.0.20 (This means that Innodb ignore table locks by default, which makes it easier to combine MyISAM and InnoDB to simulate a transaction)
| | | * | libmysql.c:paul@ice.snake.net2004-10-191-0/+3
| | | |/ | | | | | | | | | | | | Add note to mysql_hex_string() comment.
| | | * libmysql.c:bar@mysql.com2004-10-191-0/+33
| | | | | | | | | | | | | | | | New function mysql_hex_string()
| * | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1konstantin@mysql.com2004-10-201-25/+5
| |\ \ \ | | |/ / | |/| | | | | | into mysql.com:/home/kostja/work/mysql-4.1-6049
| | * | A fix and test case for bug#6058 "Prepared statements return '0000-00-00' konstantin@mysql.com2004-10-201-3/+3
| | | | | | | | | | | | | | | | | | | | (date) as empty string": preserve time type (date, time, or datetime) for zero dates, times, and datetimes.
| | * | A fix and test case for Bug#6049 "Loss of sign when using prepared konstantin@mysql.com2004-10-161-22/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mishka.local2004-10-202-0/+11
| |\ \ \ | | | | | | | | | | | | | | | into mishka.local:/home/my/mysql-4.1
| | * | | Review of all code pushed since last reviewmonty@mishka.local2004-10-202-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (bug #6057: Data Type Problem in manager.c).ram@gw.mysql.r18.ru2004-10-181-1/+1
| | |/ / | |/| |
| * | | Fix for Bug#6024 "Test "client_test" fails in 4.1.6-gamma build (1)":konstantin@mysql.com2004-10-151-3/+4
| | | | | | | | | | | | | | | | | | | | let's not assume that char is signed (its signedness is not defined). The server was also affected by the wrong typedef.
| * | | libmysql/libmysql.c:konstantin@mysql.com2004-10-151-38/+40
| |/ / | | | | | | | | | | | | Fix for Bug#6025 "Test "client_test" fails in 4.1.6-gamma build (2)". No need for a test case, the bug is covered already.
| * | Activating the new string->number conversion functionsbar@noter.intranet.mysql.r18.ru2004-09-251-1/+1
| | |
| * | A fix and test case for Bug#5315 "mysql_change_user() doesn't freekonstantin@mysql.com2004-09-222-12/+22
| | | | | | | | | | | | prepared statements."
| * | libmysql.c:paul@ice.snake.net2004-09-111-5/+5
| | | | | | | | | | | | Fix typos noticed while poking around in file.
| * | Merge mysql.com:/home/wax/mysql/mysql-4.1wax@mysql.com2004-09-091-6/+6
| |\ \ | | | | | | | | | | | | into mysql.com:/home/wax/mysql/mysql-4.1group_concat
| | * \ Merge mysql.com:/home/wax/mysql/mysql-4.1wax@mysql.com2004-08-191-6/+6
| | |\ \ | | | | | | | | | | | | | | | into mysql.com:/home/wax/mysql/mysql-4.1group_concat
| | | * | Change information text in pipe and shared memorywax@kishkin.ru2004-08-191-6/+6
| | | | |