bell@sanja.is.com.ua
d73ba9660d
test of DELETE privilege and cyclic reference added in case of altering view (BUG#5148)
...
fixed ALTER VIEW syntax
fixed WITH CHECK OPTION clause printing in SHOW CREATE VIEW
2004-10-07 15:43:04 +03:00
bell@sanja.is.com.ua
c8d5f8991d
merge
2004-10-07 11:36:46 +03:00
bell@sanja.is.com.ua
3ef0b19cd3
fixed & added comments (according to Igor's review and a bit more)
2004-10-07 01:45:06 +03:00
bell@sanja.is.com.ua
a78f817d20
merge
2004-10-05 13:41:51 +03:00
monty@mishka.local
5eca078b19
merge
2004-10-05 01:10:23 +03:00
bell@sanja.is.com.ua
9062e99ee6
merge
2004-10-04 13:56:48 +03:00
bell@sanja.is.com.ua
9d9c950445
postmerge fix
2004-10-04 13:45:35 +03:00
monty@mishka.local
be4ca46fbe
More fixes for strict mode:
...
More tests.
Better error messages.
Fixed bug when checking if we updated all needed columns for INSERT.
Give an error if we encounter a wrong float value during parsing.
Don't print DEFAULT for columns without a default value in SHOW CREATE/SHOW FIELDS.
Fixed UPDATE IGNORE when using STRICT mode.
2004-10-02 22:20:08 +03:00
bell@sanja.is.com.ua
013512abab
merge
2004-09-29 17:10:17 +03:00
bell@sanja.is.com.ua
392292a46b
post review changes:
...
CHECK OPTION moved to one function
view name added to error messages
2004-09-29 16:35:01 +03:00
monty@mishka.local
f2941380c4
Strict mode & better warnings
...
Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field.
Added checking of date/datetime fields.
If strict mode, give error if we have not given value to field without a default value (for INSERT)
2004-09-28 20:08:00 +03:00
monty@mishka.local
095f7e8740
Removed wrong warnings in test suite (This was because select_insert / select_create results was not freed.
...
Added thd to openfrm() for initialization of TABLE->in_use. This fixed a bug in BDB handling where table->in_use was used early
2004-09-17 03:08:23 +03:00
bell@sanja.is.com.ua
67fcac7a87
support of join view updateability (WL#1809)
2004-09-15 23:42:56 +03:00
bell@sanja.is.com.ua
f797298fc5
fixed merged view fields names (BUG#5147)
...
support of merged VIEW over several tables added (WL#1809)
2004-09-14 19:28:29 +03:00
jani@rhols221.adsl.netsonic.fi
0b3d778691
Merge.
2004-09-13 18:12:44 +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
magnus@neptunus.(none)
8abbb28f8b
WL1424 Multiple MySQL Servers: SHOW TABLES etc. should detect new and delete old tables.
2004-09-13 14:46:38 +02:00
bell@sanja.is.com.ua
9289224e03
fixed typo (thanks to Igor)
2004-09-11 09:36:43 +03:00
bell@sanja.is.com.ua
900a62961f
view with WHERE in nested join (BUG#5511)
2004-09-10 22:39:04 +03:00
bell@sanja.is.com.ua
a23857e071
post merge fixes
2004-09-10 02:22:44 +03:00
monty@mysql.com
f2829d0386
After merge fixes of merge with 4.1 that included the new arena code.
...
Fixed (together with Guilhem) bugs in mysqlbinlog regarding --offset
Prefix addresses with 0x for easier comparisons of debug logs
Fixed problem where MySQL choosed index-read even if there would be a much better range on the same index
This fix changed some 'index' queries to 'range' queries in the test suite
Don't create 'dummy' WHERE clause for trivial WHERE clauses where we can remove the WHERE clause.
This fix removed of a lot of 'Using where' notes in the test suite.
Give NOTE instead of WARNING if table/function doesn't exists when using DROP IF EXISTS
Give NOTE instead of WARNING for safe field-type conversions
2004-09-09 06:59:26 +03:00
monty@mysql.com
31122efde7
Merge with 4.1
...
(Includes merge of arena code in 4.1 and 5.0)
2004-09-06 15:14:10 +03:00
bell@sanja.is.com.ua
6d8e178523
merge
2004-09-05 22:14:27 +03:00
monty@mysql.com
46ff90738b
Merge with pulled code
2004-09-03 22:38:45 +03:00
monty@mysql.com
cbd67f49e1
Cleanup of new code pushed into 5.0 since last pull
...
Merged the different find_xxxx_table_in_list functions to one + some inline functions
2004-09-03 21:43:04 +03:00
bell@sanja.is.com.ua
bd2c119176
CHECK OPTIONs added (WL#1983)
2004-09-03 15:18:40 +03:00
monty@mysql.com
dec44916c1
After merge fixes
2004-09-02 16:57:26 +03:00
monty@mysql.com
054cea4ca8
Merge with 4.0
2004-09-01 04:12:09 +03:00
monty@mysql.com
f574cd4e8f
Code style fixes.
...
Initialize LOG_error_log before get_options to not use an uninitalized mutex in case of an error from handle_options()
2004-08-28 00:49:54 +03:00
bar@mysql.com
5258ea12cf
table.cc:
...
Bug #4558 Escape handling error for ENUM values in SJIS encoding
2004-08-27 12:09:28 +05:00
bell@sanja.is.com.ua
a5f063e0da
full text function moving to current select (BUG#4822)
2004-08-25 16:14:42 +03:00
bell@sanja.is.com.ua
7e778e1167
fixed aggregate function processing in VIEWs (BUG#4665)
2004-08-24 20:29:44 +03:00
bell@sanja.is.com.ua
a27b1e54d5
fixed using VIEW fields (BUG#4617)
2004-07-23 09:20:58 +03:00
bell@sanja.is.com.ua
ad9a6e0858
error message interception (Bug#4598)
...
error handling of view initialization fixed (Bug#4599)
2004-07-21 04:26:20 +03:00
bell@sanja.is.com.ua
9336d36cf8
VIEW
...
two TABLE_LIST copy eliminated
2004-07-16 01:15:55 +03:00
monty@mysql.com
c1032fe9eb
Cleanup of db option cacheing
...
Some bug fixes to last pushed code
2004-07-09 10:55:16 +03:00
monty@mysql.com
db7efa2780
New handler::index_flags() definition to make it easy to check the full used key and a specific key part.
...
Added key part to optimize_range() to fix problems when using fields in key parts.
2004-07-08 15:45:25 +03:00
serg@serg.mylan
08738d2847
fowwlowup fixes for index_flags()
2004-06-30 10:40:15 +02:00
bar@mysql.com
62aeb88638
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-4.1
2004-06-24 18:51:32 +05:00
bar@mysql.com
aa27a7858e
"Version" column in SHOW TABLE STATUS.
2004-06-24 18:46:41 +05:00
serg@serg.mylan
c03addab79
merged
2004-06-23 12:36:07 +02: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
1388c164bc
After merge fixes
...
Return NULL if a time argument is given to date_add(). (Warning will be shown after Dimitri's timezone patch is pushed)
2004-06-21 10:21:20 +03:00
monty@mysql.com
d21d49a32a
Merge with 4.0.19
2004-05-05 17:05:24 +03:00
monty@mysql.com
edc584acce
Fixed stack overrun with some INSERT ... SELECT ... GROUP BY queries (Bug #3265 )
...
Ensure that raid_chunks is not set to higher than 255 as this could cause problems with DROP DATABASE. (Bug #3182 )
2004-04-28 03:37:45 +03:00
magnus@neptunus.(none)
7c2c408cb8
Added NDB storage engine
2004-04-15 09:14:14 +02:00
monty@mysql.com
00738a2be0
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-04-08 15:02:25 +03:00
monty@mysql.com
e94d935221
Cleanup/optimizations of structures and key usage to make it easier to move key-range-search to handler
2004-04-08 01:50:59 +03:00
serg@serg.mylan
6ebf869b40
merged
2004-04-07 16:20:46 +02:00
serg@serg.mylan
e8eda8129f
::reset(), HA_FAST_KEY_READ, disable_indexes(), enable_indexes(), start_bulk_insert(), end_bulk_insert()
...
Field::val_str simplification, comment
2004-04-06 21:35:26 +02:00
bar@bar.intranet.mysql.r18.ru
950a2ebab1
Fixed charsetnr sent to the client
2004-04-06 19:57:33 +05:00
serg@serg.mylan
d6975b6367
don't modify constant strings
2004-04-06 12:31:25 +02:00
dlenev@brandersnatch.localdomain
9e28b7698d
"Fix" for BUG #2050 "10 to 1 performance drop with server 4.1.1".
...
Actually it is not a bug but right behavior observed as pefomance
degradation after we have forced Item_field::fix_fields() to
re-execute each time when we are executing prep stmt.
This patch implements small optimization which heals this bad
behavior. We are caching field position in TABLE::field array in
Item's member and are using this position for speeding up field
lookups in fix_fields() in case of its re-execution.
2004-03-28 04:11:54 +04:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
monty@mysql.com
e9e9ce659e
Fixes to newly pushed code
2004-03-12 15:56:28 +02:00
vva@eagle.mysql.r18.ru
158770e356
Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into eagle.mysql.r18.ru:/home/vva/work/BUG_2985/mysql-4.0
2004-03-12 17:56:27 +04:00
vva@eagle.mysql.r18.ru
131fd37cef
extra correction of check_db_name, check_table_name and check_column_name
2004-03-12 17:55:33 +04:00
monty@mysql.com
4ee44751d9
Fixed memory leak in DROP DATABASE when using RAID tables (Bug #2882 )
2004-03-10 13:46:11 +02:00
vva@eagle.mysql.r18.ru
29bc7b03a0
fixed Bug #2985
...
"Table truncated when creating another table name with Spaces"
added to check_db_name, check_table_name and check_column_name
test for end space
2004-03-05 22:13:33 +04:00
monty@mashka.mysql.fi
3baf20ab04
Code cleanup
2004-02-24 19:30:38 +02:00
monty@mysql.com
ce14578909
Merge with 4.0.18
2004-02-11 00:06:46 +01:00
monty@mysql.com
151b558e21
Mark that strings may change on index only reads (for BDB tables).
...
This fixed problem with index reads on character fields with BDB tables. (Bug #2509 )
2004-01-29 15:16:48 +01:00
hf@deer.(none)
52f2529536
Conflicts resolved
2004-01-23 20:00:10 +04:00
hf@deer.(none)
6dcda5153b
SCRUM:
...
WL#1163 (Making spatial code optional)
Pack of changes to do in sql/ code.
2004-01-15 21:06:22 +04:00
ram@gw.mysql.r18.ru
7b652e9a29
fix for the 2361 bug: ALTER TABLE ... DROP PRIMARY KEY drops a non-primary key
...
"PRIMARY" has been replaced by primary_key_name.
2004-01-14 16:01:55 +04:00
monty@mysql.com
eeff10e4c1
merge
2003-12-19 16:34:48 +02:00
monty@mysql.com
031390a9a4
Fixes after merge with 4.0
...
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)
2003-12-19 16:25:50 +02:00
monty@mysql.com
e0cc6799ec
Merge with 4.0.17
2003-12-17 17:35:34 +02:00
ram@gw.mysql.r18.ru
795c88517e
proper fix for the bug #2077 : accented characters in enum/defaul values are reported incorrectly.
...
note: bar asked me to use res.charset in ::sql_type() functions to be more consistent.
2003-12-16 17:39:33 +04:00
monty@mysql.com
f995a5f4aa
Fix autoincrement for signed columns (Bug #1366 )
...
Fixed problem with char > 128 in QUOTE() function. (Bug #1868 )
Disable creation of symlinks if my_disable_symlink is set
Fixed searching of TEXT with end space. (Bug #1651 )
Fixed caching bug in multi-table-update where same table was used twice. (Bug #1711 )
Fixed problem with UNIX_TIMESTAMP() for timestamps close to 0. (Bug #1998 )
Fixed timestamp.test
2003-12-12 22:26:58 +02:00
serg@serg.mylan
eaa0c4494f
code cleanup after some reasoning
2003-12-09 20:49:48 +01:00
monty@mashka.mysql.fi
cab1dc628c
CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
...
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.
2003-11-18 13:47:27 +02:00
serg@serg.mylan
9c4049ad12
Bitmap post-review fixes
2003-10-30 19:17:57 +01:00
serg@serg.mylan
6e17f4f20d
fixes to Bitmap class
2003-10-24 22:44:48 +02:00
serg@serg.mylan
f944fd4a65
merged
2003-10-21 11:58:43 +02:00
serg@serg.mylan
58e9369511
>255 keys support in frm
2003-10-21 00:13:17 +02:00
serg@serg.mylan
50d9b95b77
merged
2003-10-15 12:25:44 +02:00
monty@mashka.mysql.fi
461d1627b3
merge with 4.0 for more memory allocation variables.
2003-10-13 15:50:30 +03:00
monty@mashka.mysql.fi
c95d142f8f
Add new user variables for tuning memory usage:
...
query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size
Add more checks for "out of memory" detection in range optimization
2003-10-11 22:00:24 +03:00
serg@serg.mylan
8cc3951c8f
key_map with more that 64 bits width
2003-10-11 13:06:55 +02:00
serg@serg.mylan
630eb4aec7
set table->charset to default for 3.22 .frm files (bug #1161 )
2003-09-28 18:47:22 +02:00
monty@mishka.mysql.fi
c22c1d8a4d
merge
2003-09-24 10:24:56 +03:00
hf@deer.(none)
a2dbfaefa3
SCRUM
...
embedded library
hash_insert renamed to my_hash_insert to avoid name intersection
with another libraries
is there better idea?
2003-09-19 14:44:31 +05:00
monty@mashka.mysql.fi
f300e3a164
Remove 'extern' references from .cc files
2003-09-13 11:35:29 +03:00
monty@narttu.mysql.fi
753cb8509c
Cleanups
...
BTREE, HASH and RTREE are not reserved symbols anymore
2003-08-26 17:52:54 +03:00
monty@mashka.mysql.fi
eb6458cb18
After merge fixes + bugs from last merge
2003-08-19 16:00:12 +03:00
monty@mashka.mysql.fi
2263e3e51f
Merge with 4.0.14
2003-08-11 22:44:43 +03:00
serg@serg.mylan
7336f9cdd2
bugs #701 and #783 - old .frm files were read in incorrectly in 4.1 (each field was assigned a charset, BLOBs were converted to TEXT)
2003-07-28 16:58:52 +02:00
monty@mashka.mysql.fi
b2cbd83913
Fixed bug in ALTER TABLE ... DISABLE/ENABLE KEYS
...
Removed double my_thread_end() which caused fatal error on windows if mysqld died on startup
2003-07-08 23:58:04 +03:00
monty@mashka.mysql.fi
dbebed97e4
Remove FORCE_INIT_OF_VARS when compiling for valgrind/purify to spot wrong LINT_INIT() options
...
Fixed bug in ALTER TABLE ... MODIFY integer-column
Added ref_or_null optimization (needed for subqueries)
2003-06-30 13:23:54 +03:00
vva@eagle.mysql.r18.ru
b4014b903b
new version of help
2003-05-29 17:47:31 -04:00
serg@serg.mylan
784fb81426
INSERT ... UPDATE ... VALUES()
2003-05-03 01:16:56 +02: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
bar@bar.mysql.r18.ru
0989db3e90
More OpenGIS compatibility:
...
Point, MultiLine, Poligom, etc, are now not aliases
for Geometry, but separate field types.
2003-03-27 13:09:09 +04:00
monty@narttu.mysql.fi
f8cd1e7906
After merge fixes
...
Fixed bug in Item::set_name()
Fix for memory leak with geometry type
2003-03-20 21:35:03 +02:00
monty@narttu.mysql.fi
b883a9c01c
Merge with 4.0.12
2003-03-19 22:25:44 +02:00
monty@narttu.mysql.fi
3ec97824b7
Change dbug.h -> my_dbug.h (Portability fix)
...
Ensure that \ is not allowed in filenames, even on Unix
2003-03-17 19:06:14 +02: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
5ee1dbbe58
Check for empty table/column names
2003-03-14 17:08:42 +02:00
bar@bar.mysql.r18.ru
391b3ec636
item_func.cc, item_cmpfunc.cc, unireg.cc, table.cc, sql_base.cc:
...
some default_charset_info were removed
2003-03-07 13:39:53 +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
25de9c19b2
After merge fixes & remove compiler warnings
...
Added lengths for all MYSQL_FIELD string parameters
Changed field length to 2 byte in .frm files
2003-02-07 15:47:24 +02:00
monty@mashka.mysql.fi
564c447b27
Allow 4.0 to read new 4.1 .frm files
2003-02-07 10:35:08 +02:00
monty@mashka.mysql.fi
023d6dd39b
Merge with 4.0.11
2003-02-04 21:52:14 +02:00
monty@mashka.mysql.fi
9e3fd09305
merge with 3.23.56 to get patches for --lower-case-table-names and
...
proper handling of SUM() in some functions.
2003-01-29 19:22:22 +02:00
monty@mashka.mysql.fi
d88eb71f34
Fixed handling of lower_case_table_names in SHOW TABLE STATUS, mysql_list_fields() and mysql_table_dump().
...
This fixes some Errcode 13 errors on Windows when deleting tables.
2003-01-29 18:56:34 +02:00
hf@deer.mysql.r18.ru
87681bb85e
Merge abotchkov@work.mysql.com:/home/bk/mysql-4.1
...
into deer.mysql.r18.ru:/home/hf/work/mysql-default
2003-01-21 20:24:22 +04:00
hf@deer.mysql.r18.ru
9fb261e384
SCRUM
...
Default in UPDATE & SELECT
2003-01-21 20:20:46 +04:00
monty@mashka.mysql.fi
803dff1002
Merge with 4.0.8
2003-01-06 02:04:52 +02:00
monty@mashka.mysql.fi
9ecf9645eb
A lot of portability fixes.
...
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
2003-01-05 20:18:49 +02:00
hf@deer.mysql.r18.ru
f6e8e1f985
SCRUM
...
DEFAULT in UPDATE and SELECT
2003-01-05 14:07:24 +04:00
monty@mashka.mysql.fi
dac6498f9b
Merge with 4.0
2002-11-21 15:56:48 +02:00
monty@mashka.mysql.fi
e65ddf3fc3
Try to optimize the cache buffer size needed for bulk_insert
...
Fix for shutdown on Mac OS X
2002-11-20 22:56:57 +02:00
monty@hundin.mysql.fi
65badfff1a
Put temporary files in binlog cache when using BEGIN/COMMIT
...
Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
New variables @@rand_seed1 and @@rand_seed2 (used by replication)
DROP TEMPORARY TABLE
2002-11-07 04:02:37 +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
95aef91521
BINARY charset is now used instead of binary_flag
2002-10-25 13:58:32 +05:00
monty@hundin.mysql.fi
fbf6ab4465
merge with 4.0.5
2002-10-16 19:30:24 +03:00
monty@hundin.mysql.fi
67d3cd643b
Merge with 3.23.54
2002-10-16 13:11:25 +03:00
monty@hundin.mysql.fi
68963e91b2
Fixed a bug in key optimizing handling where the expression
...
WHERE column_name = key_column_name was calculated as true
for NULL values.
2002-10-14 17:04:12 +03:00
monty@mashka.mysql.fi
d69250a969
Fixes and code cleanups after merge with 4.0.3
...
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
2002-10-02 13:33:08 +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
2c4fa340cc
Lots of code fixes to the replication code (especially the binary logging and index log file handling)
...
Fixed bugs in my last changeset that made MySQL hard to compile.
Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
Extended my_chsize() to allow one to specify a filler character.
Extend vio_blocking to return the old state (This made some usage of this function much simpler)
Added testing for some functions that they caller have got the required mutexes before calling the function.
Use setrlimit() to ensure that we can write core file if one specifies --core-file.
Added --slave-compressed-protocol
Made 2 the minimum length for ft_min_word_len
Added variables foreign_key_checks & unique_checks.
Less logging from replication code (if not started with --log-warnings)
Changed that SHOW INNODB STATUS requre the SUPER privilege
More DBUG statements and a lot of new code comments
2002-08-08 03:12:02 +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
monty@mashka.mysql.fi
f93cb63202
Fixed problem with auto_increment key as not first key part
2002-07-23 02:08:48 +03:00
monty@hundin.mysql.fi
f87efa928b
Update for running gcc 3.x (mainly on HPUX)
...
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
bar@gw.udmsearch.izhnet.ru
6f5f47855a
Default table character set has been added:
...
CREATE TABLE a (field,...) TYPE=type CHARSET=cset;
2002-06-19 21:21:30 +05:00
monty@hundin.mysql.fi
0d8e13979d
Made keyread (key scanning) a key specific attribute.
...
This avoids using fulltext keys for table scanning.
This also reverts Sinisa's original fix for this problem.
2002-06-19 00:22:30 +03:00
monty@mashka.mysql.fi
2aecdd1a91
Big code cleanup/review before 4.0.2 release.
...
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03:00
monty@hundin.mysql.fi
ee6bd84880
Changes for new binary .frm format
...
Fixes after last merge from 4.0.
(Code not yet complete, need anoter merge from 4.0)
2002-06-04 08:23:57 +03:00
monty@hundin.mysql.fi
6e54cc492c
Extension of .frm file (not yet ready for push)
2002-06-02 21:22:20 +03:00
monty@hundin.mysql.fi
d1e13bec39
Fixed key algorithm handling
2002-05-22 20:09:03 +03: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
bar@gw.udmsearch.izhnet.ru
eab2893dac
RB-Tree indexes support in HEAP tables
...
Renamed _hp_func -> hp_func
mi_key_cmp moved to /mysys/my_handler.c
New tests for HEAP tables
2002-04-25 13:36:55 +05:00
bar@gw.udmsearch.izhnet.ru
cf5e0d3394
Fix to use Monty's changes in frm format
...
Enable latin1 by default
2002-04-18 14:08: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
c60a29f0ee
Hash now supports several charsets
2002-03-14 21:44:42 +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@hundin.mysql.fi
e6b9734e0a
merge
2002-03-12 12:21:51 +02:00
monty@hundin.mysql.fi
a01775c5eb
Added help for --local-infile
...
Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
Allow SET PASSWORD for anonymous user
2002-03-12 11:38:22 +02:00
monty@hundin.mysql.fi
fa38c84be7
merge
2002-03-06 19:53:31 +02:00
monty@hundin.mysql.fi
668d09cc5c
Fixed bug in DATE_FORMAT when used with GROUP BY
2002-03-06 18:36:31 +02:00
monty@tik.mysql.fi
c1ab560c3d
Corrected fix for not freed memory when using corrupted tables
2002-03-05 17:38:16 +02:00
bar@gw.udmsearch.izhnet.ru
735b27d578
Added GIS extension
2002-02-22 15:24:42 +04:00
serg@serg.mysql.com
2cef9ef99d
memory leak with broken tables fixed
2002-02-20 13:06:54 +00:00
monty@hundin.mysql.fi
6aeb40bd3f
merge
2001-12-13 20:54:20 +02:00
monty@hundin.mysql.fi
70e053fba0
Fixed problem with default & InnoDB tables.
2001-12-13 19:06:14 +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
1de4fff5ba
Update of query cache code.
...
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
2001-12-05 13:03:00 +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
ac250625dc
portability fixes
2001-10-11 18:58:40 +03:00
monty@hundin.mysql.fi
2350609bce
Fixed that SHOW CREATE TABLE shows all attributes
2001-09-30 05:47:35 +03:00
monty@hundin.mysql.fi
5a14bb2a7e
Integrated table->ref_primary_key into table->part_of_key
...
Fixed bug in UNION
2001-09-21 03:38:35 +03:00
serg@serg.mysql.com
edba53f3b9
bug with mysql_change_db() fixed
2001-03-21 17:09:43 +01:00
monty@donna.mysql.fi
bda3e09935
Merged some functions and removed some unused client functions.
...
Remember UNION for ALTER TABLE
Added test for if we are supporting transactions.
Don't allow REPLACE to replace a row when we have generated an auto_increment key
Fixed bug when using BLOB keys
Fixed bug in SET @variable=user.
2001-03-06 15:24:08 +02:00
jcole@tetra.spaceapes.com
552561e27d
Fixed brain-o in sql/table.cc that broke build.
...
check_db_name() referenced a non-existant variable.
2001-01-29 23:27:33 -06:00
monty@donna.mysql.com
ce2260586d
Fixed ALTER TABLE on MERGE tables
...
Fixed bug in DISTINCT
2001-01-28 21:35:50 +02:00
monty@donna.mysql.com
0732f7475e
Fixed for bugs that was found when getting full code coverage of BDB
...
Fixed bug with HEAP tables on windows
Fixed bug with HAVING on empty tables
2001-01-17 03:15:20 +02:00
monty@donna.mysql.com
4f91d5b5fe
Fixed compilation in another dir
2000-11-21 19:01:29 +02:00
monty@donna.mysql.com
b65dbb6114
Fixed problem with auto-repair of MyISAM tables
...
Fixed bug in ISAM and MyISAM when updating from multiple-processes
2000-11-21 03:43:34 +02:00
monty@donna.mysql.com
b5ad31dffe
Give an error if you use a BLOB(X) where X > 255
...
Fixes for MIT pthreads
2000-10-22 01:19:05 +03:00
monty@donna.mysql.com
4229796946
Automatic primary key for BDB tables
2000-10-16 02:29:48 +03:00
monty@tik.mysql.com
09dce662e2
Automatic repair of MyISAM tables + portability fixes
2000-10-11 00:06:37 +03:00
monty@tramp.mysql.fi
9f7c4563f7
First part of automatic repair of MyISAM tables.
...
Error on full disk on repair.
SIGHUP signal handling.
Update with keys on timestamp
Portability fixes
2000-10-03 14:18:03 +03:00
monty@donna.mysql.com
a9e11f2378
Small fixes for release
2000-09-26 22:39:45 +03:00
monty@tramp.mysql.fi
e32799e4dd
RIGHT JOIN, part of automatic repair of MyISAM tables, backup on repair,
...
reading from FIFO, fixes for FULLTEXT, @@IDENTITY
2000-09-26 00:33:25 +03:00
monty@donna.mysql.com
dc4525636c
Small bug fixes + code for DELETE QUICK
2000-09-20 04:54:10 +03:00
monty@donna.mysql.com
2776500c22
Update to new root alloc, OPTIMIZE TABLE and some other changes
2000-09-12 03:02:33 +03:00
monty@donna.mysql.com
91033f872c
Update to get 3.23.23 to compile
2000-08-31 17:25:30 +03:00
monty@donna.mysql.com
f0952ce3e1
FLUSH TABLE table_list
...
Fixes for RENAME TABLE
Portability fixes
2000-08-22 00:18:32 +03:00
bk@work.mysql.com
f4c589ff6c
Import changeset
2000-07-31 21:29:14 +02:00