bell@sanja.is.com.ua
75e7ca479e
reverting table list to be able to use it in next PS call (BUG#2811)
2004-04-06 00:10:43 +03:00
bell@sanja.is.com.ua
b30c28d85d
for Item_param we have to have value set instead of fave item fixed (BUG#3353)
...
fixed outer joins
test of different joins included
2004-04-03 17:23:41 +03:00
bell@sanja.is.com.ua
2f4d2a0e38
fixed brocken of client_test
...
fixed aggregate functions in PS (BUG#3360)
2004-04-03 11:13:51 +03:00
bell@sanja.is.com.ua
5568155e04
fix for table/field caching mechanism
...
save moving ON/USING tables conditions to WHERE clause (BUG#2794)
2004-04-01 03:00:38 +03:00
pem@mysql.com
e5f9e18d2f
Merge fix.
2004-03-25 17:48:00 +01:00
pem@mysql.comhem.se
6395822932
Fixed BUG#3117: LAST_INSERT_ID() works incorrectly inside stored procedure.
...
This turned out to be a problem for prepared statements as well; the id was
evaluated once, at parse time.
2004-03-25 17:42:13 +01:00
bell@sanja.is.com.ua
ce7798c45e
fixed union with prepared statement bug found by Konstantin
2004-03-23 14:26:54 +02:00
bell@sanja.is.com.ua
613104ad25
merge
2004-03-18 15:21:06 +02:00
bell@sanja.is.com.ua
8035ce40ec
DBUG_ASSERT(fixed == 0) added to fix_fields()
2004-03-17 14:26:26 +02:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02: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
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
serg@serg.mylan
d6307b7643
compare a decimal value with a string not a double, as we want to test for an *exact* match
2004-02-29 14:30:44 +01:00
bell@sanja.is.com.ua
8a442c4e0d
after review fix
2004-02-20 15:37:45 +02:00
bell@sanja.is.com.ua
a66b398eb8
merge
2004-02-17 11:12:55 +02:00
monty@mysql.com
050af89dd8
Merge with public tree
2004-02-16 10:31:05 +02:00
bell@sanja.is.com.ua
44b37b089a
merge
2004-02-14 13:31:39 +02:00
konstantin@mysql.com
b865fb1cf3
manual merge, bug #2247
2004-02-13 00:50:03 +03:00
bell@sanja.is.com.ua
f20b775c63
PS fixed to be compatible with derived tables (BUG#2641)
2004-02-12 18:50:00 +02:00
bell@sanja.is.com.ua
6777120d85
merge
2004-02-12 11:12:16 +02:00
bell@sanja.is.com.ua
272bd74abb
memory leacks in PS with subqueries fixed (adddition to fix of BUG#2462)
2004-02-12 03:10:26 +02:00
dlenev@mysql.com
d38c4fcad0
Manual merge.
2004-02-11 15:10:54 +03:00
guilhem@gbichot2.local
e450acc71c
Fix for BUG#2703
...
"MySQL server does not detect if garbage chars at the end of query":
Detect garbage chars at the end of the query or at the end of a query
for a prepared statement (which happens if mysql_real_query() or mysql_prepare()
were called with a too big 'length' parameter (bigger than the real intended
length of the query: then we receive a query + garbage characters from the
client). This resulted in garbage chars written into the binlog.
Now instead the client receives something like:
'You have an error in your SQL syntax. Check the manual that corresponds
to your MySQL server version for the right syntax to use near '!stmt'
at line 1' i.e. the server is pointing at the weird tail of the query
(this '!stmt' are the garbage chars sent by the client).
All tests pass, except mysqldump.test and ctype_utf8.test but they failed
before the patch.
2004-02-11 12:32:47 +01:00
monty@mysql.com
ce14578909
Merge with 4.0.18
2004-02-11 00:06:46 +01: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
bell@sanja.is.com.ua
f3877b6538
fixed cleupup() for distinct aggregate functions (BUG#2663)
2004-02-08 20:57:14 +02:00
bell@sanja.is.com.ua
69e2460bd4
fixed subquery with PS (BUG#2462)
...
fixed UNION preparation
2004-02-08 20:14:13 +02: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
monty@mysql.com
d51263b6e5
Ensure that privileges are tested properly for multi-table-updates.
...
Now one need only SELECT privilege for tables that are only read in
UPDATE statements with many tables. (Bug #2377 ).
2004-02-03 19:17:23 +01:00
konstantin@oak.local
2a25b2617a
Prepared_statement deployed instead of PREP_STMT.
2003-12-20 02:16:10 +03:00
konstantin@oak.local
54f76e2c93
commented why valgrind barks at the bug #1500
2003-12-08 13:30:14 +03:00
konstantin@oak.local
9be8ea49e1
cleanup
2003-11-26 20:23:28 +03:00
konstantin@oak.local
2556abd912
cleanup
2003-11-26 20:18:55 +03:00
lenz@kallisto.local
6549791f21
- fixed compile error in tests/client_test.c
...
(declarations should be on top of a block)
2003-11-26 15:22:30 +01:00
igor@rurik.mysql.com
40ff661193
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into rurik.mysql.com:/home/igor/mysql-4.1
2003-11-25 14:09:38 -08:00
igor@rurik.mysql.com
5eb3763b2f
fork_big2.pl:
...
Added resize key cache test.
2003-11-25 13:06:46 -08:00
konstantin@oak.local
7c2d0eea45
fix for bug #1946 :
...
"You can always mysql_real_query a query with placeholders
after mysql_prepare()"
2003-11-25 17:41:12 +03:00
dlenev@dlenev.mshome
625371f306
Fix for bug #1500 "Server crash with mysql_prepare"
...
We treat Item_param whose value is not set as non-const.
This allows us to avoid use of Item_param's value (not yet existing) in
those fix_fields and fix_length_and_dec that do calculations if their
Items arguments are const. So we can call fix_fields for such items from
mysql_prepare safely.
2003-11-23 00:48:18 +03:00
monty@mashka.mysql.fi
0bd17351ca
Changed mysql_next_result() to return int instead of bool
...
Changed ~Item_func_in() to call cleanup() (to fix memory leak)
Fixed test_multi_statements() test in client_test
2003-11-19 17:31:57 +02:00
monty@mashka.mysql.fi
c9ae785bc3
Delete duplicate error message names
2003-11-18 17:28:00 +02:00
pem@mysql.comhem.se
ea075fbb65
BUG#1644: Insertion of more than 3 NULL columns with parameter binding fails
...
Fixed. Enabled test case in client_test.c.
2003-10-27 10:50:18 +01:00
pem@mysql.comhem.se
fa8da6b855
A few more fixes.
...
And added new test for BUG#1644. (Disabled for now, not fixed yet.)
2003-10-25 17:19:35 +02:00
pem@mysql.comhem.se
d72c7dac9a
A major overhaul to adopt to recent changes. It now passes all tests.
...
Note:
- All test results haven't been inspected in detail to see if they are correct.
- Some result set printing seems to have the wrong field width; most notably
date/time fields and type fields (e.g. "int(4)").
- There are still some valgrind complaints, but they seem to be in assert() or
in libmysql.
2003-10-25 15:53:41 +02:00
monty@narttu.mysql.fi
6056cfadfc
Merge with 4.0.16
2003-10-07 15:42:26 +03:00
lenz@kallisto.local
5ce5a68b4e
- Code cleanup: replaced C++-style comments with the proper syntax for
...
.c files (the IBM Visual Age C compiler aborts with a syntax error
on these)
2003-09-24 08:35:02 +02:00
monty@narttu.mysql.fi
f05a1c8394
Block SIGPIPE also for not threaded client programs.
...
Added --include and --libs_r options to mysql_config.
Added mysql_get_client_version() to client library
Fixed some minor benchmark issues
2003-09-23 13:36:01 +03:00
monty@mashka.mysql.fi
7538242e4f
merge with 4.1 tree
2003-09-11 20:31:40 +03:00
monty@mashka.mysql.fi
45aa92c574
After merge fixes.
...
Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
2003-09-11 19:06:23 +03:00
bell@sanja.is.com.ua
51374e569d
fixed BUG#1180 (changing WHERE clause of prepared statements by optimisation)
2003-09-02 19:56:55 +03:00
bell@sanja.is.com.ua
0f456a480e
fixed string parameter assugnment (coping instead of asigning pointer to buffer) (BUG#1115)
...
fixed test_field_misc (UTF variable value)
2003-09-02 14:37:06 +03:00