summaryrefslogtreecommitdiff
path: root/sql/structs.h
Commit message (Collapse)AuthorAgeFilesLines
* Inefficient usage of String::append() fixed.bell@sanja.is.com.ua2005-11-201-2/+0
| | | | | | | Bad examples of usage of a string with its length fixed. The incorrect length in the trigger file configuration descriptor fixed (BUG#14090). A hook for unknown keys added to the parser to support old .TRG files.
* Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0msvensson@neptunus.(none)2005-10-121-0/+1
|\ | | | | | | into neptunus.(none):/home/msvensson/mysql/ssl_test/my50-ssl_test
| * Always test ssl and compressmsvensson@neptunus.(none)2005-10-121-2/+0
| | | | | | | | - Updated after review
| * Improved testing of ssl and compressionmsvensson@neptunus.(none)2005-10-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | - Added show status variable "compression" for checking that compression is turned on. - Updated show status variable "have_openssl" to be set to DISABLED if server supports ssl but it's not turned on to accept incoming ssl connections. - Setup server to accept ssl connections from clients ig that is supported by server - New tests - ssl - Run with ssl turned on - ssl_compress - Run with ssl and compression turned on - compress - Run with compression turned in - Updated test - openssl_1, rpl_openssl1 - Changed to run if server supports ssl
* | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com2005-10-081-1/+1
|\ \ | |/ |/| | | into mysql.com:/home/my/mysql-5.0
| * Review of code pushed since last 5.0 pull:monty@mysql.com2005-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that ccache is also used for C programs mysql: Ensure that 'delimiter' works the same way in batch mode as in normal mode mysqldump: Change to use ;; (instead of //) as a stored procedure/trigger delimiter Fixed test cases by adding missing DROP's and rename views to be of type 'v#' Removed MY_UNIX_PATH from fn_format() Removed current_db_used from TABLE_LIST Removed usage of 'current_thd' in Item_splocal Removed some compiler warnings A bit faster longlong2str code
* | Merge mysql.com:/home/mydev/mysql-4.1-4100ingo@mysql.com2005-09-141-1/+1
|\ \ | |/ |/| | | into mysql.com:/home/mydev/mysql-5.0-5000
| * Bug#12920 - key_read_requests counter appears to re-setingo@mysql.com2005-09-141-1/+1
| | | | | | | | After merge fix.
* | Fix for bug#11055: information_schema: routines.sql_data_access has wrong valuegluh@eagle.intranet.mysql.r18.ru2005-06-161-0/+2
| |
* | Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0sergefp@mysql.com2005-05-261-1/+2
|\ \ | | | | | | | | | into mysql.com:/home/psergey/mysql-5.0-conf-fixes-2
| * | Post-review fixes: rename SHOW_DOUBLE to SHOW_DOUBLE_STATUSsergefp@mysql.com2005-05-261-1/+2
| | |
* | | Add support for slave_compressed_protocol, slave_load_tmpdir, andjimw@mysql.com2005-05-071-1/+1
|/ / | | | | | | slave_skip_errors in SHOW VARIABLES. (Bug #7800)
* | merge from 4.1gbichot@quadita2.mysql.com2005-03-241-1/+1
|\ \ | |/
| * "After Monty's review" changes to the fix for BUG#8325 "Deadlock in ↵gbichot@quadita2.mysql.com2005-03-231-1/+1
| | | | | | | | | | | | | | | | | | replication thread stops replication": s/sleep/safe_sleep (thread safe); sleep 0/1/2/3/4/5/5/5 (get slave less late); no message on error log (deadlock is too common sometimes), a global counter instead (SHOW STATUS LIKE 'slave_retried_transactions'). Plus a fix for libmysql/Makefile.shared
* | Manual merge of patch implementing WL#1339 with main tree.dlenev@mysql.com2004-12-291-3/+52
|\ \
| * | WL#1339 "Add per account max_user_connections limit (maximum number dlenev@brandersnatch.localdomain2004-12-291-3/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of concurrent connections for the same account)" Added support of account specific max_user_connections limit. Made all user limits to be counted per account instead of the old behavior, which was per user/host accounting. Added option which enables the old behavior. Added testing of these to the test suite. (After review version).
* | | Merge with global treemonty@mysql.com2004-12-191-1/+1
| | | | | | | | | | | | | | | Fixed some found bugs in BIT fields Added more test cases for BIT fields and varchar
* | | Merge with new VARCHAR codemonty@mysql.com2004-12-061-0/+1
|\ \ \ | |/ / |/| |
| * | Add support for up to VARCHAR (size up to 65535)monty@mysql.com2004-12-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge mysql.com:/home/cps/mysql/trees/mysql-5.0petr@mysql.com2004-11-181-0/+1
|\ \ \ | | | | | | | | | | | | into mysql.com:/home/cps/mysql/devel/innotask/mysql-5.0-inno-final
| * | | WL 2059 Engine-specific status variables framework and WL 1922petr@mysql.com2004-11-181-0/+1
| |/ / | | | | | | | | | InnoDB status variables
* | | mergedserg@serg.mylan2004-11-171-1/+6
|\ \ \ | |/ / |/| / | |/
| * Fix for bug#5138: hash indexes on heap tables support statistics.sergefp@mysql.com2004-09-081-1/+6
| | | | | | | | KEY::rec_per_key is updated every time 1/HEAP_STATS_UPDATE_THRESHOLD part of table records has been changed.
* | Added per thread status variables, after review, patch v1.1.jani@rhols221.adsl.netsonic.fi2004-09-131-1/+2
| |
* | Merge with 4.1.3-betamonty@mysql.com2004-07-071-17/+8
|\ \ | |/
| * Fix for Bug#4030 "Client side conversion string -> date type doesn't konstantin@mysql.com2004-06-241-17/+8
| | | | | | | | | | | | | | | | | | | | 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.
* | Post-merge post-merge fix (new error codes for fparser).pem@mysql.com2004-05-141-2/+2
|\ \ | |/ |/|
| * Merge of WL#1469 with latest bk sources.timour@mysql.com2004-05-111-2/+12
| |
| * Implementation of WL#1469 (Greedy algorithm to search for an optimal ↵timour@mysql.com2004-04-161-2/+2
| | | | | | | | execution plan).
* | Merge with 4.0.19monty@mysql.com2004-05-051-1/+2
|\ \
| * | Fixed http address in some scripts (Bug #3460)monty@mysql.com2004-04-281-1/+2
| | | | | | | | | | | | | | | | | | Output TIMESTAMP in 4.1 format for 4.1 tables (or for TIMESTAMP(19)) (portability fix) Fixed that INTERVAL can handle big integers. (Bug #3498) Fixed that hostname="" works identical as hostname="%" for table/column grants (Bug #3473)
* | | WL#1700 - Properly count key_blocks_used and key_blocks_current.ingo@mysql.com2004-05-031-1/+2
| | | | | | | | | | | | | | | | | | Introduced a new free blocks list. Free blocks are now re-used before new blocks are allocated from the pool. There is a new status variable which can be queried by "show status like key_blocks_unused".
* | | Fix typo.paul@teton.kitebird.com2004-03-171-1/+1
| | |
* | | Optimized GIS functionsmonty@mashka.mysql.fi2004-03-041-1/+11
| |/ |/|
* | CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTSmonty@mashka.mysql.fi2003-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* | Simplified 'wrong xxx name' error messages by introducing 'general' ↵monty@narttu.mysql.fi2003-11-031-15/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ER_WRONG_NAME error Cleaned up (and disabled part of) date/time/datetime format patch. One can't anymore change default read/write date/time/formats. This is becasue the non standard datetime formats can't be compared as strings and MySQL does still a lot of datetime comparisons as strings Changed flag argument to str_to_TIME() and get_date() from bool to uint Removed THD from str_to_xxxx functions and Item class. Fixed core dump when doing --print-defaults Move some common string functions to strfunc.cc Dates as strings are now of type my_charset_bin instead of default_charset() Introduce IDENT_QUOTED to not have to create an extra copy of simple identifiers (all chars < 128) Removed xxx_FORMAT_TYPE enums and replaced them with the old TIMESTAMP_xxx enums Renamed some TIMESTAMP_xxx enums to more appropriate names Use defines instead of integers for date/time/datetime string lengths Added to build system and use the new my_strtoll10() function.
* | Scrum task 835 - text-to-datetime conversion functiongluh@gluh.mysql.r18.ru2003-10-201-2/+7
| |
* | Many files:igor@hundin.mysql.fi2003-04-241-0/+1
| | | | | | | | | | | | Added the MAX_LENGTH_FOR_SORT_DATA option filesort.cc: Added the MAX_LENGTH_FOR_SORT_DATA option
* | Merge with 4.0.11 tree to get latest bug fixesmonty@mashka.mysql.fi2003-02-171-1/+1
|\ \ | |/
| * Fixed multi-table-delete for InnoDB tablesmonty@mashka.mysql.fi2003-02-171-1/+1
| | | | | | | | Novell patches
* | Merge with 4.0.8monty@mashka.mysql.fi2003-01-031-1/+1
|\ \ | |/
| * Changed thd variables max_join_size and select_limit to type ha_rows.monty@mashka.mysql.fi2002-12-201-1/+1
| | | | | | | | | | | | This fixed some optimization problems when using -DBIG_TABLES Portabilty fixes for OpenUnix and HPUX Added C and C++ version numbers to mysqlbug
* | rename of net_pkg.cc to protocol.ccmonty@mashka.mysql.fi2002-12-111-1/+2
| | | | | | | | | | Class for sending data from server to client (Protocol) This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
* | Fixes and code cleanups after merge with 4.0.3monty@mashka.mysql.fi2002-10-021-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning handling and initial prepared statement handling (last not complete yet) Changed a lot of functions that returned 0/1 to my_bool type. GRANT handling now uses read/write locks instead of mutex Change basic net functions to use THD instead of NET (needed for 4.1 protocol) Use my_sprintf instead of sprintf() + strlen() Added alloc_query() to be able to chare query initialization code with prepared statements. Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID() Note that the following test fails (will be fixed ASAP): sub_select, union, rpl_rotate_logs and rpl_mystery22
* | Merge with 4.0.3monty@narttu.mysql.fi2002-08-301-0/+23
|\ \ | |/ |/| | | | | | | | | | | | | Some simple optimzations, more comments and indentation changes. Add ` around database in 'use database' in binary log. Moved max_error_count and max_warning_count to variables struct. Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls. Changed string functions to use character set of first string argument as default return characterset (Each string function can change the above assumption if needed)
| * sql_error.cc, sql_prepare.cc:venu@myvenu.com2002-06-121-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new file Client-server protocol 4.1 changes - Server side: * Enhanced metadata information: - SHOW [COUNT(*)] ERRORS [LIMIT [offset,] rows] - SHOW [COUNT(*)] WARNING [LIMIT [offset,] rows] - SHOW TABLE TYPES - SHOW PRIVILEGES - SHOW COLUMN TYPES (Not fully implemented) * Prepared execution * Long data handling in pieces * And other misc changes
* | mergemonty@mashka.mysql.fi2002-07-231-19/+22
|\ \
| * | New SET syntax & system variables.monty@mashka.mysql.fi2002-07-231-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made a some new buffers thread specific and changeable. Resize of key_buffer. AUTO_COMMIT -> AUTOCOMMIT Fixed mutex bug in DROP DATABASE Fixed bug when using auto_increment as second part of a key where first part could include NULL. Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers. Don't write message to error log when slave reconnects becasue of timeout. Fixed possible update problem when using DELETE/UPDATE on small tables (In some cases we used index even if table scanning would be better) A lot of minior code cleanups
* | | Some salle@geopard.online.bg2002-07-171-2/+2
|/ / | | | | | | C++ comments cleanup
* | Added interface for first set of dynamic variables.jani@rhols221.adsl.netsonic.fi2002-06-281-1/+2
| |