konstantin@mysql.com
e5f4c7a0bd
Rename: Item::val -> Item::val_real().
2004-11-11 21:39:35 +03:00
serg@serg.mylan
f58484fac2
s/ha_store_ptr/my_store_ptr/
...
s/ha_get_ptr/my_get_ptr/
2004-11-07 22:39:27 +01:00
monty@mysql.com
afbe601302
merge with 4.1
2004-10-29 19:26:52 +03:00
jani@rhols221.adsl.netsonic.fi
fe23df1a2b
Added per thread status variables, after review, patch v1.1.
2004-09-13 16:48:01 +03:00
sergefp@mysql.com
13fdbc99cf
Fix for BUG#5117:
...
* Renamed handler::estimate_number_of_rows to handler::estimate_rows_upper_bound function, which can also return "unknown"
* made filesort to use full sort buffer if number of rows to sort is not known.
2004-09-13 06:14:25 +04:00
monty@mysql.com
1e31199995
Merge with 4.1.3-beta
2004-07-07 11:29:39 +03:00
monty@mysql.com
f6765146c1
Added missing root user to mysql.user on windows. (Bug #4242 )
...
Set default max_allowed_packet to be able to read help tables even if an my.cnf file with this option is present. (Bug #3938 )
Don't use default arguments for ha_rnd_init()
Simple code cleanups since last pull
2004-06-25 18:49:36 +03:00
serg@serg.mylan
3f1c4ba745
handler interface cleanups:
...
more logical table/index_flags
return HA_ERR_WRONG_COMMAND instead of abstract methods where appropriate
max_keys and other limits renamed to max_supported_keys/etc
max_keys/etc are now wrappers to max_supported_keys/etc
ha_index_init/ha_rnd_init/ha_index_end/ha_rnd_end are now wrappers to real {index,rnd}_{init,end} to enforce strict pairing
2004-06-23 12:29:05 +02:00
monty@mysql.com
7d8f8bc77b
Changed prototype of killed_ptr() to make it more portable
...
Applied patches for Netware
2004-05-26 19:12:49 +03:00
pem@mysql.com
dfd59e296e
Merge 4.1 -> 5.0.
2004-04-07 19:07:44 +02:00
monty@mysql.com
49330f61da
Fixed warnings from valgrind (not a bug)
...
Don't add -debug to server version if MYSQL_SERVER_PREFIX is used
Indentation cleanups
2004-04-06 12:13:43 +03:00
monty@mysql.com
ebc3b3afac
BTREE-indexes in HEAP tables can now be used to optimize ORDER BY
...
Don't read character set files if we are using only the default charset. In most cases the user will not anymore get a warning about missing character set files
Compare strings with space extend instead of space strip. Now the following comparisons holds: "a" == "a " and "a\t" < "a". (Bug #3152 ).
Note: Because of the above fix, one has to do a REPAIR on any table that has an ascii character < 32 last in a CHAR/VARCHAR/TEXT columns.
2004-03-25 15:05:01 +02:00
monty@mysql.com
ce14578909
Merge with 4.0.18
2004-02-11 00:06:46 +01:00
pem@mysql.com
c8585f3283
Merge 4.1 into 5.0.
2004-02-10 18:44:02 +01:00
ram@gw.mysql.r18.ru
f231d9826b
just tried to find all 'skipp' and replace it with 'skip'.
2004-02-02 20:25:39 +04:00
monty@mysql.com
c1dd070ba7
Some small portability fixes.
...
Added support for lower_case_table_names=2, which is to be used on case insensitive file systems.
This tells MySQL to preserve the used case of filenames and database names to make it esier to move files between cases sensitive can case insensitive file systems (like Windows and Linux)
2003-12-30 13:14:21 +02:00
monty@mysql.com
2ffbfe27eb
Merge mysql.com:/my/mysql-4.1 into mysql.com:/my/mysql-5.0
2003-12-21 19:43:23 +02:00
monty@mysql.com
0279dc4234
Portability fixes found during 5.0 test compilation
...
Fixed bug in ORDER BY on a small column (Bug #2147 )
Fixed error from pthread_mutex_destroy() when one had wrong errmsg file
2003-12-21 19:39:32 +02:00
monty@mysql.com
57d4813200
Removed some test that was not relevant for MySQL (and which caused problems in MySQL 4.1)
2003-12-21 16:32:32 +02:00
monty@mysql.com
c6ed2a625b
Update for VC++
...
(Fixed project files, compiler warnings etc..)
2003-12-21 02:07:45 +02:00
sergefp@mysql.com
23b25675f2
Merge mysql.com:/home/psergey/mysql-5.0-latest-pull
...
into mysql.com:/dbdata/psergey/mysql-5.0-imerge-unique
2003-12-20 00:54:38 +03:00
konstantin@oak.local
d37da004f6
THD::lex now points to THD::main_lex like in 5.0
...
All tests pass (client_test included)
2003-12-19 20:52:13 +03:00
konstantin@oak.local
7fdf6740c7
Implementation of SUM(DISTINCT), tests cases
2003-12-19 19:04:03 +03:00
sergefp@mysql.com
67c6d5113c
Precise read time estimates for index_merge/Unique
2003-12-18 06:08:00 +03:00
sergefp@mysql.com
24c180941f
Two-sweeps read index_merge plus several small index_merge fixes and improvements
2003-12-09 23:40:02 +03:00
sergefp@mysql.com
5f9718adfb
Merging index_merge/Unique into 5.0
2003-11-23 15:17:46 +03:00
sergefp@mysql.com
1c61a92ba7
index_merge implementation using Unique class, to be merged into 5.0
2003-11-19 00:37:17 +03:00
pem@mysql.com
8d884c02bb
Merging 4.1 -> 5.0
2003-09-24 11:29:38 +02:00
lenz@kallisto.local
f01a6f7eae
- Polished mysql-copyright a bit and added call to remove
...
cmd-line-utils/readline from the commercial distribution
- fixed some copyright headers so mysql-copyright can process them
2003-09-23 00:38:01 +02:00
pem@mysql.com
7f158dd12a
Merge 4.1 into 5.0
2003-08-26 11:51:09 +02:00
bar@bar.mysql.r18.ru
a60acfcfe0
Old style charset() and set_charset() were removed.
2003-08-05 12:52:37 +05:00
pem@mysql.telia.com
9c3a7a6ba3
Merge 4.1 into 5.0 (first pass).
2003-07-08 17:50:23 +02:00
monty@mashka.mysql.fi
6aa8929cf3
After merge fixes
...
Added initialization of all important global variables
2003-05-21 21:39:58 +03:00
monty@narttu.mysql.fi
dd2b7918cd
Merge with 4.0.13
2003-05-19 16:35:49 +03:00
monty@narttu.mysql.fi
51f9879008
Removed compiler warnings
...
Fixed memory leak in new filesort code
Optimzed sub selects to use keys with outer references.
Increased max tables in join to 62
2003-05-06 01:38:38 +03:00
vva@eagle.mysql.r18.ru
afd581edd3
made lex a pointer in THD
2003-05-05 14:54:37 -04:00
pem@mysql.com
35c82164f6
Merged 4.1 to 5.0.
2003-04-29 12:06:04 +02:00
igor@hundin.mysql.fi
b6534b667f
filesort.cc, order_by.result:
...
Fixed bug 263
order_by.test:
Fixed bug 263
2003-04-26 14:54:53 +03:00
igor@hundin.mysql.fi
80615fade2
Many files:
...
Added the MAX_LENGTH_FOR_SORT_DATA option
filesort.cc:
Added the MAX_LENGTH_FOR_SORT_DATA option
2003-04-24 14:33:33 +03:00
hf@deer.mysql.r18.ru
5d4e9f95f2
Merging
2003-04-08 19:43:24 +05:00
bar@bar.mysql.r18.ru
5b50426f8f
Some optimization in CHARSET_INFO:
...
We don't need separate hash_sort() and hash_caseup()
We don't need tosort(). strnxfrm will do the same.
2003-04-01 12:45:16 +05:00
hf@genie.(none)
0ee0589e93
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into genie.(none):/home/hf/work/mysql-5.0.kil
2003-03-31 13:42:37 +05:00
hf@genie.(none)
f8f0b70380
SCRUM
...
two KILL commands implementation (version 2)
2003-03-31 13:39:46 +05:00
monty@narttu.mysql.fi
a434bca704
Merge with 4.0
2003-03-16 19:17:54 +02:00
monty@mashka.mysql.fi
968e9a73d4
merge with 3.23 to get:
...
- Fix for empty table/column names
2003-03-15 04:41:57 +02:00
monty@mashka.mysql.fi
369da47836
Code cleanup
2003-03-14 23:06:55 +02:00
serg@serg.mysql.com
860e8099ab
Merge
2003-03-13 18:51:50 +01:00
serg@serg.mysql.com
ff86765a4d
fix for crash with small sort_buffer
2003-03-13 18:46:40 +01:00
bar@bar.mysql.r18.ru
b4c8ecd8bc
filesort.cc, sql_analyse.cc, item_func.cc, item_strfunc.cc, field.cc:
...
Unnesessary binary() calls have been removed
2003-03-13 15:34:46 +04:00
venu@myvenu.com
ee2b888696
Windows portabilty fixups (last commit caused some errors, so recomitting) - SCRUM
2003-02-20 14:14:37 -08:00
gluh@gluh.mysql.r18.ru
ae911ef858
Bug fix: for SHOW STATUS (when ssl is used)
...
Added ROW_RESULT to switchs(for documentation purposes)
2003-02-17 18:06:51 +04:00
gluh@gluh.mysql.r18.ru
063668c08d
Merge gluh@192.168.21.1:/usr/home/bk/mysql-4.1
...
into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.uvar
2003-02-17 15:07:01 +04:00
monty@mashka.mysql.fi
e327393e9d
Fixed a lot of wrong memory references as reported by valgrind
...
Portability fixes
Added new client function: mysql_get_server_version()
New server help code (From Victor Vagin)
Fixed wrong usage of binary()
Disabled RTREE usage for now.
2003-02-12 21:55:37 +02:00
monty@mashka.mysql.fi
b14b246d38
Merge with 4.0 to get fix for MIN/MAX
2003-02-07 16:38:37 +02:00
monty@mashka.mysql.fi
cf9668fd37
Added START TRANSACTION syntax
...
Added ALL as parameter option for all group functions.
Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
Sort NULL last if DESC is used (ANSI SQL 99 requirement)
2003-02-06 16:55:59 +02:00
gluh@gluh.mysql.r18.ru
7cfbabd807
Changed ROW_RESULT to default
2003-01-31 14:07:07 +04:00
bar@bar.mysql.r18.ru
9a837a873e
Always use USE_STRCOLL code
2003-01-30 11:15:14 +04:00
bar@bar.mysql.r18.ru
735399a850
Move latin1 into a separarte file
2003-01-29 17:31:20 +04:00
monty@mashka.mysql.fi
25c393a12e
Portability fixes (for windows)
...
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02:00
bell@sanja.is.com.ua
fe9e139056
postreview fix (SCRUM)
...
fixed layout
2002-12-28 01:01:05 +02:00
bar@bar.mysql.r18.ru
6bcc515739
less default_charset_info
2002-12-20 17:14:46 +04:00
bell@sanja.is.com.ua
4be2cfd62d
merging
2002-11-27 19:31:11 +02:00
bell@sanja.is.com.ua
5f2016bb20
layout fix
2002-11-27 19:16:06 +02:00
monty@mashka.mysql.fi
dac6498f9b
Merge with 4.0
2002-11-21 15:56:48 +02:00
bell@sanja.is.com.ua
7a9f47759e
basic row Items (SCRUM)
2002-11-15 20:32:09 +02:00
monty@mashka.mysql.fi
7a70332836
Portability fix when using -DBIG_TABLES
2002-11-14 12:21:36 +02:00
monty@butch.
a2bdf9265f
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
2002-11-07 03:54:00 +02:00
bar@bar.mysql.r18.ru
86b633379c
Some charset code clean-ups
2002-11-06 17:01:12 +04:00
bar@bar.mysql.r18.ru
bca773e6df
Use item->charset() instead of item->str_value.charset()
2002-10-30 17:28:40 +04:00
bar@bar.mysql.r18.ru
95aef91521
BINARY charset is now used instead of binary_flag
2002-10-25 13:58:32 +05:00
monty@hundin.mysql.fi
b1f99ce4a2
Added THD as parameter to filesort. Removed not used 'special' argument.
2002-10-16 17:21:47 +03:00
bar@bar.mysql.r18.ru
954a47b95a
Simple charsets now have strncoll() field too
2002-10-09 15:40:57 +05:00
monty@mashka.mysql.fi
0f39457613
Merge with 4.0.4
2002-10-02 17:55:12 +03:00
monty@mashka.mysql.fi
c85c33a5c1
Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
...
Fixed bug in SELECT ... ORDER BY ... LIMIT
Fixed bug in ALTER TABLE and RENAME TABLE with --lower-case-table-names
Fixed hang when using --with-openssl
2002-09-16 15:55:19 +03:00
monty@mashka.mysql.fi
344c24d390
Fixed core dump bug in ORDER BY ... LIMIT
2002-09-15 01:23:01 +03:00
monty@narttu.mysql.fi
7134ffec21
Merge with 4.0.3
...
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)
2002-08-30 12:40:40 +03:00
monty@mashka.mysql.fi
dddc20d9d1
New SET syntax & system variables.
...
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
2002-07-23 18:31:22 +03:00
jani@rhols221.adsl.netsonic.fi
7cad1f9313
Added interface for first set of dynamic variables.
2002-06-28 19:30:09 +03:00
bar@gw.udmsearch.izhnet.ru
65eb2e9f78
Fix for bug mentioned by Peter and Sanja
2002-05-20 20:38:39 +05:00
bar@gw.udmsearch.izhnet.ru
196aa19cf6
Now string values are created and filled with charset field
...
SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
2002-05-17 16:29:52 +05:00
bar@gw.udmsearch.izhnet.ru
7fce07d52d
Now several character sets can live in the same table,
...
However some hacks were used while waiting for new FRM file
2002-05-14 20:58:38 +05:00
monty@hundin.mysql.fi
b5a145d872
merge
2002-04-13 15:34:39 +03:00
monty@tik.mysql.fi
056175a1ce
Update for BTREE keys in HEAP tables
...
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
2002-04-12 21:35:46 +03:00
bar@gw.udmsearch.izhnet.ru
9149d9fdb6
filesort.cc:
...
Fixed that i mixed Field and Item in some cases
2002-03-22 16:06:14 +04:00
bar@gw.udmsearch.izhnet.ru
823d4da78b
Fix for crash in the case of non-string fields
2002-03-20 17:33:10 +04:00
bar@gw.udmsearch.izhnet.ru
d8a4d6a8a3
remove default_charset_info
2002-03-14 23:03:15 +04:00
bar@gw.udmsearch.izhnet.ru
b37ce8e769
New ctype functions/macros to support many charsets at a time
2002-03-12 21:37:58 +04:00
monty@tik.mysql.fi
9d9bcf25e7
Fix sorting of NULL values (Should always be first)
...
Fix problem with HAVING and MAX() IS NOT NULL
2002-03-02 09:51:24 +02:00
monty@hundin.mysql.fi
6b02f13cf3
Removed compiler warnings.
...
Added new operators to be used with gcc 3.0.x
Update of query cache code.
Added semaphores for Windows (not yet in use)
Added pthread_mutex_trylock for windows.
2001-12-10 00:08:24 +02:00
monty@hundin.mysql.fi
b658662ae4
Update copyright
...
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
4c60b41954
Portability fix
...
Cleanup typos (like SKIPP -> SKIP)
2001-11-07 00:13:29 +02:00
monty@hundin.mysql.fi
0bfec316ce
Don't do signal() on windows (Causes instability problems)
...
Safer, a bit faster filesort.
Code changes to avoid calls to current_thd() (faster code).
Removed all compiler warnings from readline.
2001-10-17 19:39:39 +03:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
063a1a6557
Portability fixes.
...
Patches required by Gemini
Fix to properly detect if there is an active transaction in InnoDB
Fix to not lock thread structure when doing automatic rollback when thread ends
Allow -O lower_case_names=0 on UNIX
2001-08-21 20:06:00 +03:00
monty@tik.mysql.fi
fc81fdb4ba
Redefinition of myisam_bulk_insert_tree_size
...
Removed new error message
Fixed test case for varbinary
Threads are again killable in "merge_buffers"
Cleanup of sql_repl.cc
SHOW OPEN TABLES now works when no tables are opened
2001-07-10 15:53:08 +03:00
Sinisa@sinisa.nasamreza.org
ce09acfbeb
Making multi-table delete BETA !!
2001-07-01 13:20:53 +03:00
monty@hundin.mysql.fi
65600db56d
Fixed bug when sorting big files (introduced with multi-table-delete)
...
Changed mysql-test to use --language
Cleaned up parameters to filesort()
2001-06-25 11:35:22 +03:00
monty@hundin.mysql.fi
334a4815ea
Fixed bug in multi-table-delete code
2001-06-24 22:11:00 +03:00
monty@hundin.mysql.fi
a06f391e7a
Fixed multi-table-delete
...
Optimize fixed length MyISAM rows to use pread/pwrite.
2001-06-15 05:03:15 +03:00
Sinisa@sinisa.nasamreza.org
62f5630197
Enhancing both multi-table delete and division of LEX
2001-06-07 14:10:58 +03:00