monty@mysql.com
987edeaa9b
Fixed compiler warnings
2005-07-28 21:25:05 +03:00
georg@lmy002.wdf.sap.corp
dc0645f7cf
Merge grichter@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-4.1
2005-07-20 13:32:43 +02:00
georg@lmy002.wdf.sap.corp
3468c8485d
cs fixes from last commit
2005-07-20 13:31:45 +02:00
georg@lmy002.wdf.sap.corp
3e1ae2633a
fix for bug#12001
2005-07-19 17:31:18 +02:00
reggie@linux.site
8f605428cb
Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into linux.site:/home/reggie/bk/bug7142
2005-07-18 08:03:59 -06:00
tomas@poseidon.ndb.mysql.com
b144b920a0
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-new
2005-07-15 14:14:59 +02:00
konstantin@mysql.com
a1270b65db
A fix and a test case for Bug#11183 "mysql_stmt_reset() doesn't reset
...
information about error".
2005-07-14 20:02:33 +04:00
ramil@mysql.com
be233935cc
fix for #11808 backported.
2005-07-14 20:19:27 +05:00
konstantin@mysql.com
62b8e6fdd1
A fix and a test case for Bug#9735.
...
No separate typecode for MEDIUMTEXT/LONGTEXT is added, as we
have no sound decision yet what typecodes and for what types are
sent by the server (aka what constitutes a distinct type in MySQL).
2005-07-14 15:13:23 +04:00
reggie@linux.site
8a68788c39
Bug #7142 Show Fields from fails using Borland's dbExpress interface
...
The problem here is that columns that have an especially long type
such as an enum type with many options would be longer than 40 chars
but the type column returned from show columns always was defined
as varchar(40).
This is fixed in 5.0 using info schema.
2005-07-12 08:35:30 -06:00
kent@mysql.com
a7be42163a
Makefile.am:
...
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
2005-07-05 23:24:48 +02:00
jimw@mysql.com
2aea94f483
Merge bk-internal:/home/bk/mysql-4.1
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-05-02 08:05:58 -07:00
jimw@mysql.com
518f644204
Fix 'mysql_client_test' with embedded server. (Bug #9634 )
2005-04-27 17:50:48 -07:00
monty@mysql.com
e18a155fd6
Fixed core dump bug when hot link list in key cache was empty. Bug #10167
2005-04-27 14:31:04 +03:00
bar@mysql.com
0a72d12deb
mysql_client_test.c:
...
Don't run GBK test if not GBK support was compiled.
2005-03-25 17:30:51 +04:00
jimw@mysql.com
45d8283f1a
Merge
2005-02-17 13:52:39 -08:00
jimw@mysql.com
e2291bdc7e
Only escape the first character in a sequence of bytes that appears to be
...
a multibyte character, but was not a valid multibyte character. Refinement
of fix for Bug #8378 .
2005-02-15 11:31:01 -08:00
konstantin@mysql.com
36c992b264
Follow-up for bug#7990
2005-02-10 18:24:26 +03:00
konstantin@mysql.com
4b2b327dcc
A fix and test case for Bug#7990 "mysql_stmt_close doesn't
...
reset mysql->net.last_error": the solution is to clear
MYSQL->net error before performing COM_CLOSE: if the call
succeeds, the connection is usable for other statements.
More comprehensive fix is to clear MYSQL->net for all
recoverable errors at the time they happen, it will be
implemented in 5.0 as it introduces incompatibility in behavior.
2005-02-10 17:41:54 +03:00
konstantin@mysql.com
016544df22
A fix and test case for Bug#8330 "mysql_stmt_execute crashes" (libmysql).
2005-02-10 14:56:20 +03:00
jimw@mysql.com
5bb39302ab
When escaping a string in a multi-byte character set, escape all bytes of
...
a character that appears to be a multi-byte character based on its first
byte, but is not actually a valid multi-byte character. (Bug #8378 )
2005-02-09 16:14:13 -08:00
serg@serg.mylan
c33f1b6e63
Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2005-01-24 19:45:15 +01:00
serg@serg.mylan
67ba2e367a
fixes/cleanups according to Coverity report
2005-01-24 15:48:25 +01:00
lenz@mysql.com
9675b0698f
- renamed client_test -> mysql_client_test
...
- renamed the tests that use the embedded server (client_test ->
mysql_client_test_embedded, mysqltest -> mysql_test_embedded
and changed some Makefiles and scripts so they are installed in $bindir
(required to be able to run the test suite against the embedded server)
2005-01-20 16:25:38 +01:00
konstantin@mysql.com
8b33aad4e4
A test case for Bug#6761 "mysql_list_fields doesn't work"
2005-01-12 20:28:31 +03:00
hf@deer.(none)
e5125d3e88
Fix to perform correctly with charsets in embedded server
2004-12-21 10:05:58 +04:00
konstantin@mysql.com
ba69a5b7e8
Making 4.1 tree compile with -ansi -pedantic
2004-12-16 16:16:28 +03: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
bar@mysql.com
4fa867494d
bug#6275 "client_test" fail in 4.1.7 make test
...
bug#6911 resultset metadata always return client character set
2004-12-14 15:58:30 +04:00
sergefp@mysql.com
a7147bec84
Test for BUG#7242: Testing prepare + several times execute
...
(here in client_test.c because we need to check if several PS execution works and the bug shows up with binary protocol only )
2004-12-14 10:57:30 +03:00
Sinisa@sinisa.nasamreza.org
a90da35fe6
Fix for a bug #6996
2004-12-07 19:12:29 +02:00
hf@deer.(none)
71bfbbdcd0
Fixes to make mysql-test-run --embedded-server working
2004-12-02 16:08:17 +04:00
ram@gw.mysql.r18.ru
c78eefbc95
Fixes (bug #6932 : 'revoke all privileges...' doesn't remove all proper columns from columns_priv
...
bug #6933 : error in the tests/grant.pl test).
2004-12-02 13:34:30 +04: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
konstantin@mysql.com
fec630622b
Some comments regarding Bug#6275 ""client_test" fail in 4.1.7 make test"
2004-11-18 23:35:45 +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
jani@ua141d10.elisa.omakaista.fi
dc6452a4d4
Code cleanup and some optimizations.
2004-11-12 19:54:25 +02:00
jani@ua141d10.elisa.omakaista.fi
340ba1cf56
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
2004-11-12 18:31:11 +02:00
jani@ua141d10.elisa.omakaista.fi
379b46128f
Added possibility to run only certain tests by giving the test name(s)
...
as argument(s) after options.
Added option -T to display all current test names.
2004-11-12 18:30:30 +02:00
monty@mysql.com
20eb74dcda
Write fatal errors even if silent is used in client_test
2004-11-11 14:59:13 +02:00
monty@mysql.com
4fbf62e6c2
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-11-08 01:15:26 +02:00
monty@mysql.com
b903a129e2
Simpler arena swapping code
...
Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root.
This gives us the following benefits:
- Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases)
- Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT)
- We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
2004-11-08 01:13:54 +02:00
konstantin@mysql.com
eeeb342b3c
A fix and test case for the bug reported by Reggie: if character set
...
of client equals to character set of connection, possibly required
conversion to character set of column is not performed
(prepared statements, data is supplied using placeholders).
2004-11-05 21:02:12 +03:00
konstantin@mysql.com
c1dc0975c6
A test case for Bug#4172 "Floating point conversion looses precision
...
(prepared staements)": adding the test case to close the bug
(the bug was fixed along with other conversion incompatibilities
in 4.1.7)
2004-11-05 00:45:41 +03:00
serg@serg.mylan
4650f0acab
bad automerge (?) fixed
2004-11-02 23:34:40 +01:00
monty@mysql.com
2185f1a56c
Remove usage of !$ from mysql-tests
...
Added protocol::flush() for easier embedded-server code
Increase block allocation variables a bit as they where a bit too small for MySQL 4.1
Added option --silent to client_test
2004-11-02 20:13:27 +02: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
konstantin@mysql.com
5622920f2c
Playing with test_bug5399() to make it work on HPUX 64 bit: no
...
reason for the failure was found, so the guess is that it is a
compiler bug.
2004-10-26 22:42:16 +04:00
dlenev@mysql.com
fbdc20e0af
Manual merge of fix for bug #6081 "Call to deprecated mysql_create_db() function crashes
...
server" with main tree.
2004-10-22 20:21:56 +04:00
konstantin@mysql.com
f99d6ccfd0
A test case for Bug#6046: no fix is needed (the bug is already
...
fixed in the main tree).
2004-10-22 15:59:59 +04:00