monty@mysql.com
1f8b3d0f22
Code cleanups (done during review of new code)
...
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)
2004-10-20 11:24:08 +03:00
monty@mishka.local
7af65592c7
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mishka.local:/home/my/mysql-4.1
2004-10-20 02:55:03 +03:00
monty@mishka.local
04c23808a8
Review of all code pushed since last review
...
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
2004-10-20 01:28:42 +03:00
paul@ice.snake.net
462aed6c99
libmysql.c:
...
Add note to mysql_hex_string() comment.
2004-10-19 07:44:20 -05:00
bar@mysql.com
c01c8f99ea
libmysql.c:
...
New function mysql_hex_string()
2004-10-19 09:50:47 +05:00
konstantin@mysql.com
33fb5ab61b
A fix and test case for Bug#6049 "Loss of sign when using prepared
...
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.
2004-10-16 00:12:59 +04:00
konstantin@mysql.com
105a2c1c03
Fix for Bug#6024 "Test "client_test" fails in 4.1.6-gamma build (1)":
...
let's not assume that char is signed (its signedness is not defined).
The server was also affected by the wrong typedef.
2004-10-15 03:54:40 +04:00
konstantin@mysql.com
60fc4ed057
libmysql/libmysql.c:
...
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.
2004-10-15 02:52:52 +04:00
konstantin@mysql.com
36548b10ca
A fix and test case for Bug#5315 "mysql_change_user() doesn't free
...
prepared statements."
2004-09-22 15:50:07 +04:00
paul@ice.snake.net
5099b678c5
libmysql.c:
...
Fix typos noticed while poking around in file.
2004-09-11 14:38:23 -05:00
konstantin@mysql.com
48162f9653
A fix and test case for Bug#5194 "Bulk Insert Failures with Prepared
...
Statements":
- fix a couple of net->buff overruns in libmysql,
- check in the server that statement parameter count is less than
65535 (maximum value supported by prepared statements protocol).
2004-09-08 23:07:11 +04:00
hf@deer.(none)
f8aff9934d
Small fixes to patch for #5371
2004-09-07 16:33:39 +05:00
hf@deer.(none)
e4ef0eadf2
Fix for the bug #5371 (Prepared query converting float to string blows the
...
stack)
We just don't expect BIG buffer to be sent for just a double
2004-09-07 14:30:53 +05: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
monty@mysql.com
32594c9989
Print value of Item_param if it has a value (when debugging)
2004-09-04 15:02:57 +03:00
konstantin@mysql.com
2f191db2b1
A fix and test case for Bug#4231 "Wrong result with MYSQL_TIME
...
parameters": when unpacking binary time recieved from client, handle
the case when length is 0: it means all MYSQL_TIME members are zero.
2004-09-02 20:16:01 +04:00
konstantin@mysql.com
46f1922fb5
A short fix and test case for Bug#5126
...
"Mediumint and PS problem": just treat mediumint as long.
2004-08-26 22:47:34 +04:00
monty@mysql.com
ceba1429b7
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-08-26 18:27:33 +03:00
monty@mysql.com
ea687ba5da
Portability fixes
...
Fixed bug in end space handle for WHERE text_column="constant"
2004-08-26 18:26:38 +03:00
konstantin@mysql.com
dd601de64f
Cleanup.
2004-08-25 17:20:12 +04:00
hf@deer.(none)
0bda11b695
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.emb
2004-08-20 10:50:23 +05:00
pem@mysql.comhem.se
2d7f4c30a7
Fixed symbol name problems that made build fail.
2004-08-19 20:48:00 +02:00
hf@deer.(none)
c43d7d92dd
Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.emb
2004-08-19 15:47:09 +05:00
serg@serg.mylan
e1237cbc53
manually merged
2004-08-18 19:57:55 +02:00
guilhem@mysql.com
8c9fc27f7c
Fix for BUG#5073 "--disable-local-infile has no effect if client reads it with MYSQL_READ_DEFAULT":
...
that was a forgotten '~' probably.
2004-08-17 14:12:37 +02:00
konstantin@mysql.com
72348e7c1c
Fixing typos in big comment (libmysql):
...
you need to check in to find out another couple of typos
2004-08-10 01:16:19 -07:00
konstantin@mysql.com
6989a499da
Comments in libmysql (prepared statements API)
2004-08-10 01:08:53 -07:00
kent@mysql.com
a3ea1e2339
libmysql.c:
...
Can't return value from void function
2004-08-06 18:03:27 +02:00
lenz@mysql.com
1097805cf2
- rename: EXCEPTIONS->EXCEPTIONS-CLIENT
2004-08-05 17:05:11 +02:00
lenz@mysql.com
b6c0b67cf6
- Fixed libmysql license texts: added reference to the FLOSS
...
EXCEPTIONS file and amended the GPL text as requested by Zak
2004-08-05 11:59:17 +02:00
konstantin@mysql.com
f8c0850521
Cleanup in libmysql.
2004-08-05 02:43:18 -07:00
konstantin@mysql.com
d3e520ce7e
Port of cursors to be pushed into 5.0 tree:
...
- client side part is simple and may be considered stable
- server side part now just joggles with THD state to save execution
state and has no additional locking wisdom.
Lot's of it are to be rewritten.
2004-08-03 03:32:21 -07:00
hf@deer.(none)
94bfeb8393
Fixes for bugs in embedded library:
...
#4700 (Unsigned value returned as signed)
just no appropriate checking
#4701 (Errors returned earlier than expected)
all errors returned from send_command()
#4702 (Result isn't freed properly if there's no retrieval)
flush_use_result has only 'client' version and should
be made 'virtual'
2004-07-22 20:54:25 +05:00
paul@kite-hub.kitebird.com
c53dc62ece
client.c, libmysql.c:
...
Symbol spelling change.
errmsg.c:
Client error message edits.
errmsg.h:
Two symbol spelling changes.
2004-06-30 22:18:41 -05:00
konstantin@mysql.com
786e5ff717
Fix for compilation failure on high-byte-first platforms.
2004-06-26 04:54:11 +04:00
monty@mysql.com
b1d08ba2b4
Merge with 4.0 to get the latest bug patches to 4.1
2004-06-25 20:13:05 +03:00
konstantin@mysql.com
354e2ba67b
Type of MYSQL_BIND::buffer changed to void *
2004-06-25 17:04:33 +04:00
konstantin@mysql.com
a30fcdc690
Fix for Bug#4030 "Client side conversion string -> date type doesn't
...
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.
2004-06-24 19:08:36 +04:00
monty@mysql.com
ad86016e2f
lower_case_table_names=2 (Keep case for table names) was not honored
...
with ALTER TABLE and CREATE/DROP INDEX. (Bug #3109 )
Make net_buffer_length visible for mysql clients (Bug #4206 )
2004-06-23 16:44:34 +03:00
konstantin@mysql.com
b81315d6e8
Fixes to make client_test run on 64 bit Sun: a bug in libmysql and
...
test suite fixed.
2004-06-22 23:07:08 +04:00
monty@mysql.com
d69a36d118
merge
2004-06-21 10:24:40 +03:00
guilhem@mysql.com
c5544563ac
swapping lines to make gcc happy
2004-06-19 15:35:41 +02:00
guilhem@mysql.com
6b45c24d39
Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
...
into mysql.com:/home/mysql_src/mysql-4.1-874
2004-06-18 23:51:15 +02:00
guilhem@mysql.com
19dbf58eec
API change: mysql_shutdown() now requires a 2nd argument, the shutdown level.
...
mysqld >=4.1.3 will however understand shutdown requests sent by clients <4.1.3.
And mysqld <4.1.3 will understand shutdown requests sent by clients >=4.1.3
(it will ignore the level). Those shutdown level are just PLACEHOLDERS now.
So this change is just to make the 4.1 API suitable before it is frozen. Later
we will actually implement the shutdown levels.
2004-06-18 23:50:04 +02:00
monty@mysql.com
fd0153304d
Fixed some byte order bugs with prepared statements on machines with high-byte-first. (Bug #4173 )
...
Fixed problem with NULL and derived tables (Bug #4097 )
Cleanup of new pushed code
2004-06-18 03:02:29 +03:00
monty@mysql.com
6e820c8024
Merge mysql.com:/home/my/mysql-3.23 into mysql.com:/home/my/mysql-4.0
2004-06-18 02:48:01 +03:00
guilhem@mysql.com
5a0a4a134f
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-3.23
...
into mysql.com:/home/mysql_src/mysql-3.23
2004-06-17 15:41:54 +02:00
guilhem@mysql.com
69bea44bc9
Fix for BUG#4017 "mysql_real_connect buffer overflow"
2004-06-17 15:40:13 +02:00
konstantin@mysql.com
5b5af92fa3
- mysql_stmt_send_long_data commented. A few other comments.
2004-06-17 02:03:15 +04:00
konstantin@mysql.com
e9f2c7d478
Comments and cleanups in client library.
2004-06-16 23:11:02 +04:00