konstantin@mysql.com
b9f51f7081
WL #1510 "Implement support for "commercial" binaries on handshake",
...
client library:
- implemented 'check_license' function
2004-03-17 20:04:50 +03:00
monty@mysql.com
f9ad650490
merge with 4.0
2004-03-17 10:36:12 +02:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
serg@serg.mylan
ceec63f18a
EOVERFLOW moved to my_base.h - it is used not only in strtod.c
...
error message corrected
2004-03-16 16:35:47 +01:00
monty@mysql.com
dcf5ba1c95
Increase max size of number of elements in key. This fixed a bug when using count(DISTINCT) with lot of distinct values and big 'max_heap_table_size'
2004-03-16 13:51:35 +02:00
monty@mysql.com
eb8a9e275f
Moved errno to strtod.c as one can use m_string.h without errno.h
2004-03-16 00:04:06 +02:00
konstantin@mysql.com
420c956d27
Intermediate commit of client library (cleanups + fixes of 3 items from
...
flaws list)
TODO:
* verify that no sequence of API calls produces SIGSEGV.
That is, verify that mysql_stmt_init -> mysql_stmt_fetch is OK,
or mysql_stmt_prepare -> mysql_stmt_fetch_column is OK and sets
meaningful error.
* remove alloc_stmt_fields call
* revise stmt->state codes and statement states.
* there are other items in prepared statements 'to fix' document.
Done:
- cleanups and comments
- revision of prepared statement error codes.
- mysql_stmt_prepare is now can always be called (that is, you can reprepare
a statement)
- new implementation of mysql_stmt_close and fetch cancellation
2004-03-16 01:04:04 +03:00
konstantin@mysql.com
36120d420a
Fix of compilation failure of latest 4.1 tree: new constants in mysqld.cc
...
exceed unsigned long limit.
2004-03-15 22:39:36 +03:00
gluh@gluh.mysql.r18.ru
df0ede69fc
Task #835 : additional changes fot str_to_date
2004-03-15 18:28:21 +04:00
hf@deer.(none)
6b42f932d6
WL#1163 (to make spatial parts optional)
...
--without-geometry and --with-embedded-privilege-control switches
added to the configure
2004-03-15 16:51:05 +04:00
serg@serg.mylan
ded8fa56eb
my_strtod fixes:
...
sigsegv protection (exp overflow)
don't return inf!
use errno=EOVERFLOW to signal an overflow (as my_strntod uses errno anyway)
if errno will be too slow, my_strtod can be changed to return overflow status in a parameter (like my_strntod does)
2004-03-14 17:25:20 +01:00
vva@eagle.mysql.r18.ru
5bada5ee99
fixed bug #1427 "enum allows duplicate values in the list"
2004-03-13 23:13:31 +04:00
konstantin@oak.local
001ad87554
fix to make client.c compile on windows
2004-03-12 18:53:45 +03:00
konstantin@oak.local
082a01d1e0
Rename:
...
read_statistic -> read_statistics
(statistic is adjective)
2004-03-10 20:12:24 +03: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
paul@ice.snake.net
1d9a89b23f
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
2004-03-05 11:16:06 -06:00
konstantin@mysql.com
7753c6b93e
New call mysql_stmt_init() introduced.
...
Renames:
mysql_bind_param -> mysql_stmt_bind_param
mysql_bind_result -> mysql_stmt_bind_result
mysql_execute -> mysql_stmt_execute
mysql_fetch -> mysql_stmt_fetch
mysql_fetch_column -> mysql_stmt_fetch_column
mysql_get_metadata -> mysql_stmt_result_metadata
mysql_param_count -> mysql_stmt_param_count
mysql_param_result -> mysql_stmt_param_metadata
mysql_prepare -> mysql_stmt_prepare
mysql_send_long_data -> mysql_stmt_send_long_data
client_test.c cleaned up from memory leaks
2004-03-05 16:55:09 +03:00
serg@serg.mylan
5cacc972a2
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-03-02 22:22:11 +01:00
serg@serg.mylan
a05c54b6c2
my_getsystime()
2004-03-02 22:21:12 +01:00
konstantin@oak.local
8cc8b0ea5c
Desperate attempt to push part of prepared statements cleanup which was
...
reviewed in Saint-Petersbourg (including post-review fixes).
2004-03-02 22:39:50 +03:00
paul@ice.local
6eaf03125d
Fix bruxism-inducing typo so I can sleep at night.
2004-03-01 17:25:21 -06:00
guilhem@mysql.com
5137821cea
small after-merge fixes (error messages).
2004-02-28 23:36:41 +01:00
serg@serg.mylan
ed2e1aa14d
my_gethwaddr() for linux/freebsd
...
UUID() function
2004-02-27 20:30:08 +01:00
serg@serg.mylan
49429da988
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-02-20 23:18:32 +01:00
serg@serg.mylan
7ff24eb01f
longer myisam keys
2004-02-20 20:38:34 +01:00
monty@mashka.mysql.fi
cdaf7fcbc4
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mashka.mysql.fi:/home/my/mysql-4.1
2004-02-19 19:38:47 +02:00
monty@mysql.com
d1e4ede7bf
crease number of open files to 2048 on windows
...
Don't do fsync on temporary .frm files
2004-02-19 19:36:53 +02:00
monty@mashka.mysql.fi
e347f63192
Max open files handling moved to my_set_max_open_files()
...
This ensures that my_file_info takes this the max number of files into account and one can now use --open-files-limit on windows to increase number of used files up to 2048
2004-02-19 19:33:09 +02:00
serg@serg.mylan
6af8a93052
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-02-17 17:07:14 +01:00
serg@serg.mylan
b8e161be4b
if a key length exceeds the supported maximum and it is safe to auto-decrease it, do it.
2004-02-17 16:57:39 +01:00
monty@mysql.com
e9315f984d
Changed wellformedlen to well_formed_len
...
Fixed that blobs >16M can be inserted/updated
Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE
2004-02-17 01:35:17 +02:00
serg@serg.mylan
de240a1ce2
ft_boolean_syntax made changeable
2004-02-16 18:53:00 +01:00
monty@mysql.com
050af89dd8
Merge with public tree
2004-02-16 10:31:05 +02:00
monty@mysql.com
f43093ec0e
After merge fixes
...
Added more DBUG statements
Ensure that we are comparing end space with BINARY strings
Use 'any_db' instead of '' to mean any database. (For HANDLER command)
Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
2004-02-16 10:03:25 +02:00
hf@deer.(none)
e100530b3e
Fix for #2212 (mysql_change_user doesn't work in embedded library)
...
now it's working
2004-02-14 20:26:21 +04:00
vva@eagle.mysql.r18.ru
50fb56399a
Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into eagle.mysql.r18.ru:/home/vva/work/BUG_2592/mysql-4.1
2004-02-14 02:28:19 +04:00
vva@eagle.mysql.r18.ru
48d4e33328
a little optimization in yylex
...
(case MY_LEX_USER_VARIABLE_DELIMITER for multichar strings)
and my_mbcharlen
2004-02-14 02:26:27 +04:00
serg@serg.mylan
01c2ca5b8a
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-02-13 15:30:00 +01:00
serg@serg.mylan
5914e5705c
my_atof is deleted
...
strtod from mit-threads is restored and cleaned up
2004-02-13 15:27:21 +01:00
konstantin@mysql.com
b865fb1cf3
manual merge, bug #2247
2004-02-13 00:50:03 +03:00
dlenev@mysql.com
8e6a2e98ae
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/dlenev/src/mysql-4.1-bg2248
2004-02-11 16:09:33 +03:00
monty@mysql.com
ce14578909
Merge with 4.0.18
2004-02-11 00:06:46 +01:00
dlenev@mysql.com
3559cf86ef
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/dlenev/src/mysql-4.1-bg2248
2004-02-10 18:33:06 +03:00
hf@deer.(none)
d7e3b89ce9
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.2208
2004-02-10 19:33:04 +04:00
dlenev@dlenev.mshome
8ec663ef5b
Fixed bug #2248 "mysql_fetch without prior mysql_execute hangs"
...
Done clean-up in prep stmt API functions:
1) Removed some checks that were performed only in debug version
were making debug version more tolerable to user errors than
production (and thus caused problems for example masking some
bugs).
2) Also removed some other checks to make prep stmt API
consistent with the rest of C API (this also in line with
general politics - make checks in only those places where
errors are very common and hard to spot).
2004-02-10 16:58:20 +03:00
hf@deer.(none)
348bd98e48
Fix for #2208 (multi-query returns wrong result in embedded library)
...
now we execute only one first select during mysql_real_query
others - during 'mysql_next_result'
2004-02-10 17:09:59 +04:00
konstantin@oak.local
69d00bdb88
Fix for bug #2247 : "mysql_stmt_affected_rows returns affected rows from
...
last command"
2004-02-06 16:03:09 +03:00
bar@bar.intranet.mysql.r18.ru
d13ad0822e
Problem fix:
...
http://bugs.mysql.com/bug.php?id=2366
Wrong utf8 behaviour when data is trancated
2004-02-06 16:59:25 +04:00
serg@serg.mylan
2a45f3ee16
include atomic.h in extern "C" mode
2004-02-05 23:13:04 +01:00
monty@mysql.com
7df839e757
Added testing of pthread_key_delete (to fix compile problem on SCO) (Bug #2461 )
...
DROP DATABASE now assumes RAID directories are in hex. (Bug #2627 )
Don't increment 'select_full_range' and similar statistics for EXPLAIN queries. (Bug #2506 )
Test in configure if pthread_key_delete() exists (to fix compile problem on SCO) (Bug #2461 )
2004-02-05 09:12:23 +01:00