bell@sanja.is.com.ua
61fd95d168
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-ps3-4.1
2004-04-07 15:23:05 +03:00
bell@sanja.is.com.ua
560a9f66d3
after review changes
2004-04-07 13:25:24 +03:00
sergefp@mysql.com
ca75b62d5a
Correct handling of parameter variables with NULL values in PREPARE queries
2004-04-07 12:58:28 +04:00
serg@serg.mylan
c1d8752081
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-04-06 12:32:02 +02:00
serg@serg.mylan
d6975b6367
don't modify constant strings
2004-04-06 12:31:25 +02:00
sergefp@mysql.com
1f8505d66f
Post-merge fixes
2004-04-05 19:52:10 +04:00
sergefp@mysql.com
a8386d01c2
Many files:
...
SQL Syntax for Prepared Statements (WL#1622)
ps.test, ps.result:
new file
2004-04-05 19:43:37 +04:00
monty@mysql.com
42cf92ce37
Fixed many compiler warnings
...
Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695 , #3381 and #3319 )
Fixed crash when doing rollback in slave and the io thread catched up with the sql thread
Set locked_in_memory properly
2004-04-05 13:56:05 +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
konstantin@dragonfly.local
4a4f5fc601
Stubs for types/names of placeholders, cursor flags and array execution count
...
implemented in the client library and server.
Warning: this makes the new client library and server incompatible with all
previous versions and 5.0.
2004-03-31 02:27:49 +04:00
konstantin@oak.local
19d09a2a9c
Better comment.
2004-03-30 02:03:42 +04:00
konstantin@mysql.com
e43ac76094
Fixes for bugs #2274 "mysqld gets SIGSEGV during processing of malformed
...
COM_EXECUTE packet" and #2795 "prepare + execute without bind_param crashes
server" and #2473 "seg fault running tests/client_test.c":
- length checking added to packet parser
- default impelemntation of Item_param::set_param_func will work in
case of malformed packet.
No test cases are possible in our test suite, as there are no tests
operating on protocol layer.
2004-03-15 20:20:47 +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
bell@sanja.is.com.ua
c6c1efba7e
after review changes
2004-02-20 16:24:03 +02:00
bell@sanja.is.com.ua
8a442c4e0d
after review fix
2004-02-20 15:37:45 +02:00
bell@sanja.is.com.ua
2d5338ceb0
revision of fix_fields calls in subqueries transformation
...
after merge fix
2004-02-18 22:14:41 +02:00
bell@sanja.is.com.ua
a66b398eb8
merge
2004-02-17 11:12:55 +02:00
bell@sanja.is.com.ua
3f86f10a57
ulternative bugfix for BUG#2508 and fix for BUG#2809 - every table has its own TABLE structure
2004-02-17 01:14:51 +02:00
bell@sanja.is.com.ua
44b37b089a
merge
2004-02-14 13:31:39 +02: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
acurtis@pcgem.rdg.cyberkinetica.com
a316e2f9e5
Bug#2703
...
"MySQL server does not detect if garbage chara at the end of query"
Allow the parser to see the garbage characters.
Garbage should cause the parser to report an error.
2004-02-12 12:01:27 +00: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
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
pem@mysql.com
c8585f3283
Merge 4.1 into 5.0.
2004-02-10 18:44:02 +01:00
bell@sanja.is.com.ua
cefdd4fec6
merge
2004-02-09 15:49:11 +02:00
bell@sanja.is.com.ua
ff0a6e9686
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-derived2-4.1
2004-02-09 15:01:51 +02:00
bell@sanja.is.com.ua
637236e176
Merge sanja.is.com.ua:/home/bell/mysql/bk/work-derived2-4.1/
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-prepared-4.1
2004-02-09 14:47:41 +02:00
monty@mysql.com
06432eac36
Added --compact to mysqlbinlog
...
Fixed output from mysqlbinlog when using --skip-comments
Fixed warnings from valgrind
Fixed ref_length when used with HEAP tables
More efficent need_conversion()
Fixed error handling in UPDATE with not updateable tables
Fixed bug in null handling in CAST to signed/unsigned
2004-02-09 12:31:03 +01:00
bell@sanja.is.com.ua
69e2460bd4
fixed subquery with PS (BUG#2462)
...
fixed UNION preparation
2004-02-08 20:14:13 +02:00
bell@sanja.is.com.ua
2a9cd37cd6
now all tables of query are locked in one place (including derived tables)
...
fixed BUG#2120 and other problem with EXPLAINing derived tables
2004-02-01 15:30:32 +02:00
hf@deer.(none)
7dda8c102f
Merge deer.(none):/home/hf/work/mysql-4.1.clean
...
into deer.(none):/home/hf/work/mysql-4.1.1676
2004-01-19 21:06:27 +04:00
hf@deer.(none)
c29e27dabc
Code cleanup
...
Superfluous line removed
2004-01-19 21:05:26 +04:00
hf@deer.(none)
1f8eb40310
Code cleanup (working on PS & cleanup() code)
...
Item & changed with Item* in Item_xxx constructors
tables_list.first -> get_table_list()
2004-01-19 19:53:25 +04:00
bell@sanja.is.com.ua
e5fa5585f0
removed droping field->query_id for reinitialization tables for subquery.
...
(BUG#2089)
2004-01-03 00:12:07 +02:00
hf@deer.(none)
bfe134b86f
Fix for prepared statements
...
Here i added Item_*::cleanup() functions,
removed a lot of ~Item_*'s,
added code to restore order_list and group_list
2003-12-30 14:08:19 +04:00
hf@deer.(none)
2d4fbe5a5a
Fix for #2184 (Prepared statements if embedded library broken)
...
There was an error with same function/class member names
2003-12-23 17:17:45 +04:00
monty@mysql.com
2ffbfe27eb
Merge mysql.com:/my/mysql-4.1 into mysql.com:/my/mysql-5.0
2003-12-21 19:43:23 +02:00
monty@mysql.com
0279dc4234
Portability fixes found during 5.0 test compilation
...
Fixed bug in ORDER BY on a small column (Bug #2147 )
Fixed error from pthread_mutex_destroy() when one had wrong errmsg file
2003-12-21 19:39:32 +02:00
pem@mysql.comhem.se
e2cbc87bdc
Post-merge fixes.
2003-12-20 15:43:24 +01:00
pem@mysql.com
d672412102
Merge 4.1 to 5.0 (the prep stmt fixes in particular).
2003-12-20 13:10:29 +01:00
konstantin@oak.local
2a25b2617a
Prepared_statement deployed instead of PREP_STMT.
2003-12-20 02:16:10 +03:00
pem@mysql.com
12187684ca
Merging lex-pointer change from 4.1 to 5.0.
2003-12-19 20:13:48 +01:00
konstantin@oak.local
d37da004f6
THD::lex now points to THD::main_lex like in 5.0
...
All tests pass (client_test included)
2003-12-19 20:52:13 +03:00
pem@mysql.com
99e0ae85c7
Merge 4.1 to 5.0.
2003-12-19 18:03:27 +01:00
monty@mysql.com
031390a9a4
Fixes after merge with 4.0
...
Cleaned up embedded library access and query cache handling
Changed min stack size to 128K (to allow longer MyISAM keys)
Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
2003-12-19 16:25:50 +02:00
konstantin@mysql.com
f2377c4dc9
manual merge
2003-12-04 18:15:45 +03:00
pem@mysql.com
2c16ccdbe6
Merge mysql.com:/home/pem/work/mysql-4.1
...
into mysql.com:/home/pem/work/mysql-5.0
2003-12-02 17:08:24 +01:00
pem@mysql.com
6e717133c5
Merge 4.1 to 5.0
2003-12-01 16:14:40 +01:00
konstantin@oak.local
2d52be9fdf
don't delete select_lex->having and select_lex->where as we delete
...
all items in free_prep_stmt(free_items);
indentation fix
2003-12-01 17:46:07 +03:00