georg@beethoven.local
8482a2fc50
fix for bug #7285 : Disable start of embedded server when need to
...
connect to an external server with mysqld.
2004-12-15 12:36:01 +01:00
konstantin@mysql.com
91457448c2
A fix of return value of mysql_stmt_bind_result() and cleanup.
2004-12-15 01:37:22 +03:00
ram@gw.mysql.r18.ru
41a509ba86
A fix (bug #7129 : Test failure: 'type_ranges' when using '--ps-protocol'
...
bug #7126 : Test failure: 'func_str' when using '--ps-protocol'
bug #7130 : Test failure: 'type_uint' when using '--ps-protocol').
2004-12-10 20:07:00 +04:00
Sinisa@sinisa.nasamreza.org
a90da35fe6
Fix for a bug #6996
2004-12-07 19:12:29 +02:00
dlenev@mysql.com
cb7e272e46
Manual merge of fix for bug #6266 "Invalid DATETIME value is not handled
...
properly" with main tree.
2004-11-19 18:35:36 +03:00
dlenev@brandersnatch.localdomain
b02f5aa692
Fix for bug #6266 "Invalid DATETIME value is not handled properly".
...
In server we assume that datetime values stored in MYSQL_TIME struct
are normalized (and year is not greater than 9999), so we should
perform range checks in all places then we convert something to
MYSQL_TIME.
2004-11-15 15:44:29 +03:00
monty@mysql.com
9252656d49
merge with 4.0
2004-11-12 11:17:53 +02:00
bar@mysql.com
0a375d4b72
libmysql.c:
...
After-merge clean-up
2004-11-05 09:07:07 +04:00
bar@mysql.com
d8503ba39e
Merge
2004-11-05 09:05:59 +04:00
bar@mysql.com
e9c50b8773
libmysql.def, libmysql.c:
...
Clean-ups
2004-11-05 09:00:04 +04:00
bar@mysql.com
27fcb9f6af
libmysql.def, libmysql.c:
...
Minor clean-ups
2004-11-05 08:44:40 +04:00
joerg@mysql.com
10291f3664
Ensure that a source distribution contains 'libmysql/libmysql.def'
...
which is needed for Netware ports.
2004-11-01 18:15:45 +01:00
konstantin@mysql.com
96829a4639
Remove support for obsolete 4.1.1 prepared statements C API names:
...
having approval for it since 4.1.4, I also have some assurance that
very few people actually used this: to enable these calls a user
had to #define HAVE_DEPRECATED_411_API and recompile the client library.
2004-11-01 19:01:50 +03:00
konstantin@mysql.com
f96d99eba1
A fix and test case for Bug#6096 "field.max_length is always zero for
...
numeric columns (stmt_resultset_metadata)"
2004-10-27 23:46:22 +04:00
monty@mysql.com
6fbc869d18
A lot of fixes for prepared statements (PS):
...
New mysqltest that can run mysqltest with PS
Added support for ZEROFILL in PS
Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result()
Updated test cases to support --ps-protocol
(Some tests are still run using old protocol)
Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2...
Fixed crash in PS when using sub queries
Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries)
Fix for PS and SELECT ... PROCEDURE
Reset all warnings when executing a new PS query
group_concat(...ORDER BY) didn't work with PS
Fixed problem with test suite when not using innodb
2004-10-26 19:30:01 +03:00
monty@mysql.com
3afecef4df
Fix compiler warnings (detected by Intel's C++ compiler)
...
Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094 )
2004-10-22 18:44:51 +03:00
monty@mysql.com
b686f98f50
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-10-20 18:58:01 +03:00
monty@mysql.com
4e63fb9891
After merge fixes
2004-10-20 17:28:40 +03:00
monty@mysql.com
e1218474b8
Merge with 4.0
2004-10-20 16:24:28 +03:00
konstantin@mysql.com
e546d901ac
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/kostja/work/mysql-4.1-6049
2004-10-20 16:45:09 +04:00
konstantin@mysql.com
0aa9195a2c
A fix and test case for bug#6058 "Prepared statements return '0000-00-00'
...
(date) as empty string": preserve time type (date, time, or datetime) for
zero dates, times, and datetimes.
2004-10-20 16:43:36 +04:00
monty@mysql.com
9f8d47d81a
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mysql.com:/home/my/mysql-4.0
2004-10-20 11:25:46 +03:00
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
ram@gw.mysql.r18.ru
1fee6aaa62
A fix (bug #6057 : Data Type Problem in manager.c).
2004-10-18 12:43:52 +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
bar@noter.intranet.mysql.r18.ru
ef7bdbf4b8
Activating the new string->number conversion functions
2004-09-25 17:20:50 +05: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
wax@mysql.com
da53ad65b0
Merge mysql.com:/home/wax/mysql/mysql-4.1
...
into mysql.com:/home/wax/mysql/mysql-4.1group_concat
2004-09-09 13:02:15 +06: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
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
wax@mysql.com
589c485aa7
Merge mysql.com:/home/wax/mysql/mysql-4.1
...
into mysql.com:/home/wax/mysql/mysql-4.1group_concat
2004-08-19 19:41:30 +06:00
wax@kishkin.ru
5c872a7ebc
Change information text in pipe and shared memory
2004-08-19 18:42:17 +06: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
7e89f474ab
Fix for BUG#5038 "Cannot disable LOAD DATA LOCAL INFILE from client"
...
(specific to 4.1): don't put CLIENT_LOCAL_FILES in
CLIENT_CAPABILITIES; it would make mysql_options(CLIENT_LOCAL_FILES,0)
have no effect.
2004-08-17 17:33:21 +02:00