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
733db0e64d
Fixes of client_test on Solaris 64 bit
2005-01-19 03:01:34 +03:00
konstantin@mysql.com
f01f721672
manual merge
2005-01-12 21:51:04 +03: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
monty@mysql.com
1e88bdbf90
Streamlined code for trim, ltrim and rtrim
...
Portability fixes
2005-01-02 23:31:37 +02:00
monty@mysql.com
d71c030587
After merge fixes
2004-12-31 00:44:00 +02:00
monty@mishka.local
4f4bbfc279
Merge with 4.1
2004-12-22 13:54:39 +02: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
7c369a240b
More work on truncations in libmysql: after-review fixes.
2004-12-18 03:42:28 +03:00
konstantin@mysql.com
7055fc5122
Truncations patch: a post-review fix.
2004-12-18 00:17:25 +03:00
konstantin@mysql.com
ad604b1811
Fixing compile-time failures in recently pushed code (aCC, Sun Studio)
...
(Bug#7381)
2004-12-17 20:22:13 +03:00
konstantin@mysql.com
ba69a5b7e8
Making 4.1 tree compile with -ansi -pedantic
2004-12-16 16:16:28 +03:00
pem@mysql.comhem.se
e703659639
Changed C++-ism into C in client_test.c.
2004-12-16 12:10:27 +01:00
konstantin@mysql.com
7216594f4f
Data truncation reporting implementation (libmysql) + post review
...
fixes. Still to do:
- deploy my_strtoll10 in limbysql.c
- add mysql_options option to switch MYSQL_DATA_TRUNCATED on and off.
2004-12-16 03:15:06 +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
guilhem@mysql.com
eac128ef2d
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/mysql_src/mysql-5.0-clean
2004-12-09 15:42:06 +01:00
guilhem@mysql.com
1cbc904c59
Changing the default of libmysqlclient : it's now NO reconnection.
...
All our programs which use mysql_real_connect() and mysql_connect() are updated accordingly, though I have deliberately
made mysqlimport not reconnect anymore (already true for mysqldump >= 4.1.8).
All Connector devs have been warned about the change I'm doing here - which was agreed with Monty,
and fixes BUG#2555.
2004-12-09 14:44:10 +01:00
Sinisa@sinisa.nasamreza.org
a90da35fe6
Fix for a bug #6996
2004-12-07 19:12:29 +02:00
monty@mysql.com
563500994a
Update results for new varchar handling
...
Fixed compiler warnings
String results in CREATE ... SELECT are now created as CHAR(0), VARCHAR(X) or TEXT() depending on item->max_length
2004-12-07 15:47:00 +02:00
monty@mysql.com
77207d19f2
Merge with new VARCHAR code
2004-12-06 19:18:35 +02:00
monty@mysql.com
0de4777187
Merge with 4.1
2004-12-06 11:38:56 +02:00
monty@mysql.com
67ce247965
Add support for up to VARCHAR (size up to 65535)
...
Renamed HA_VAR_LENGTH to HA_VAR_LENGTH_PART
Renamed in all files FIELD_TYPE_STRING and FIELD_TYPE_VAR_STRING to MYSQL_TYPE_STRING and MYSQL_TYPE_VAR_STRING to make it easy to catch all possible errors
Added support for VARCHAR KEYS to heap
Removed support for ISAM
Now only long VARCHAR columns are changed to TEXT on demand (not CHAR)
Internal temporary files can now use fixed length tables if the used VARCHAR columns are short
2004-12-06 02:00:37 +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
gluh@gluh.mysql.r18.ru
3256fd704e
Fixed bug related to lower case table names on Power Mac
...
'information_schema' test is splitted because of innodb
2004-11-24 19:32:10 +03:00
gluh@gluh.mysql.r18.ru
22e76af9df
More test cases are added
...
Fixed bug 'using of alias with information schema tables in views'
removed compiler warnings
2004-11-23 17:41:39 +03:00
serg@serg.mylan
2d3dd65cc1
merged
2004-11-20 18:36:41 +01:00
gluh@gluh.mysql.r18.ru
15ada105ac
changed field names, fields order according to WL description
...
fixed bug: "create view v7 as select * from information_schema.tables;" failed
2004-11-20 01:17:18 +03: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
gluh@gluh.mysql.r18.ru
a68a9fe268
remove unused parts of code
...
fix for 'show create schema_table'
fix for usage schema tables in subselect
'wrong schema table charset' fix
2004-11-18 12:16:06 +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
gluh@gluh.mysql.r18.ru
321f803784
WL#1629: SHOW with WHERE(partially) &
...
WL#173: Create Data Dictionary Tables for SHOW Commands
2004-11-13 13:56:39 +03:00
monty@mysql.com
63da075081
Merge with 4.1 to get latest fix to client_test.c
2004-11-12 21:27:52 +02:00
monty@mysql.com
addd1a0da8
Merge with 4.1
2004-11-12 19:58:24 +02: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
konstantin@mysql.com
52da4cd912
Fix compile failure of client_test: Move DBUG_ENTER to work in standard C.
2004-11-10 16:49:44 +03:00
monty@mysql.com
1087186657
Merge with 4.1 to get new thd->mem_root handling
2004-11-08 17:53:32 +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
monty@mysql.com
071001950e
Merge with 4.1 to get in latest bug fixes
2004-11-04 15:06:24 +02:00
serg@serg.mylan
4650f0acab
bad automerge (?) fixed
2004-11-02 23:34:40 +01:00