ram@gw.mysql.r18.ru
6b8222d3a7
a fix (Bug #4102 Crash with a DBUG window after a request)
2004-06-16 18:43:05 +05:00
konstantin@mysql.com
f3e018f833
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/kostja/mysql/mysql-4.1-4026
2004-06-09 03:22:55 +04:00
konstantin@mysql.com
dc11d3cfa1
Proposed fix for Bug#4026 "Microseconds part of TIME/DATETIME types
...
is broken (prepared statements)": fixed date handling in many places
of prepared statements code.
2004-06-09 03:21:50 +04:00
sergefp@mysql.com
1e05e6cb82
Post review fixes for "SQL Syntax for Prepared Statements".
2004-06-07 12:09:10 +04:00
sergefp@mysql.com
dc38512390
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/dbdata/psergey/mysql-4.1-ps-merge
2004-06-01 17:29:13 +04:00
konstantin@mysql.com
eaa4d106e6
Fix for Bug#3796 "Prepared statement, select concat(<parameter>,<column>), wrong
...
result": new Item_param member for use in val_str()
2004-05-31 14:21:48 +04:00
sergefp@mysql.com
d7dd97089e
Manually merged, requirees more merging
2004-05-25 08:15:50 +04:00
konstantin@mysql.com
f207b33a7b
Support for character set conversion in binary protocol: another go
...
after Monty's review.
- Item_param was rewritten.
- it turns out that we can't convert string data to character set of
connection on the fly, because they first should be written to the binary
log.
To support efficient conversion we need to rewrite prepared statements
binlogging code first.
2004-05-25 02:03:49 +04:00
sergefp@mysql.com
fb17025b3e
WL#1622 "SQL Syntax for Prepared Statements": Post-review fixes (1 of 2)
2004-05-21 04:27:50 +04:00
sergefp@mysql.com
7af3097e60
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/dbdata/psergey/mysql-4.1-ps-merge
2004-05-07 03:33:39 +04:00
monty@mysql.com
939ea71ecd
Portability fixes
...
Change strtoll -> my_strtoll10()
Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems (Bug #3472 )
2004-05-07 01:43:17 +03:00
sergefp@mysql.com
67ad78cb5d
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/dbdata/psergey/mysql-4.1-ps-merge
2004-05-06 23:02:32 +04:00
sergefp@mysql.com
7c3376229e
Make Item_param::val_int and Item_param::val_str follow the used convention and return 0 if null_value==1.
2004-05-05 20:04:25 +04:00
sergefp@mysql.com
fdfcadc735
Manual merge for WL#1622 code, will need fixes
2004-05-05 16:10:16 +04:00
dlenev@brandersnatch.localdomain
c7fbcbca7a
Fix for remaining issues described in Bug #1664
...
"mysql_send_long_data() API call is completely broken".
Now we are resetting some members (long_data_supplied/null_value...) of Item_param to its
initial state after each execution of prepared statement. We also manipulating
Item_param::maybe_null/null_value only via Item_param::set_* setters which makes code a bit
more robust.
2004-05-04 19:08:19 +04:00
sergefp@mysql.com
194027d5d8
Merged
2004-04-13 02:18:09 +04:00
monty@mysql.com
dc0d2b83c2
Added function comment
2004-04-12 01:42:39 +03: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
dlenev@brandersnatch.localdomain
f38e0a935d
Merge of fix for bug #2050 and bug #3307
2004-03-31 22:17:10 +04:00
dlenev@brandersnatch.localdomain
4122188cc2
Fix for Bug #3307 "FLUSH TABLES sometimes breaks prepared statement
...
table resolution".
Added members to Item_ident for storing original db, table and field
names since those that set later from Field have shorter life-time
than required by prep. stmt. So we need to restore original names in
Item_ident::cleanup(). Also now using special construnctor for creation
of Item_field from Field object that ensures that table and field name
have big enough life-time.
"Fix" for bug #2050 "10 to 1 performance drop with server 4.1.1"
Clean ups in implementation of caching of field number in table.
Added caching of table in which field is found in find_field_in_tables().
2004-03-31 21:25:55 +04:00
dlenev@brandersnatch.localdomain
9e28b7698d
"Fix" for BUG #2050 "10 to 1 performance drop with server 4.1.1".
...
Actually it is not a bug but right behavior observed as pefomance
degradation after we have forced Item_field::fix_fields() to
re-execute each time when we are executing prep stmt.
This patch implements small optimization which heals this bad
behavior. We are caching field position in TABLE::field array in
Item's member and are using this position for speeding up field
lookups in fix_fields() in case of its re-execution.
2004-03-28 04:11:54 +04:00
monty@mysql.com
1448199bd7
Cleanups & safety fixes
2004-03-25 22:11:22 +02:00
bell@sanja.is.com.ua
d095d4753e
after review changes
2004-03-20 13:36:26 +02:00
bell@sanja.is.com.ua
ede07fcdcf
fixed signed numeric literal parsing
2004-03-18 18:27:03 +02:00
bell@sanja.is.com.ua
613104ad25
merge
2004-03-18 15:21:06 +02:00
bell@sanja.is.com.ua
2b45b53066
DBUG_ASSERT(fixed == 1); added to val*
...
small optimisation in signed_literal
2004-03-18 15:14:36 +02:00
ram@gw.mysql.r18.ru
99d374159a
merge
2004-03-17 18:57:51 +04:00
ram@gw.mysql.r18.ru
757cff9f9b
Code cleanup:
...
- added unsigned_flag= 1; to Item_uint constructors
- removed Item_uint::fix_fields()
- added a comment about fix_fields() call
2004-03-17 18:40:04 +04:00
bell@sanja.is.com.ua
8035ce40ec
DBUG_ASSERT(fixed == 0) added to fix_fields()
2004-03-17 14:26:26 +02:00
ram@gw.mysql.r18.ru
f54827e5d0
Fix for the bug #3118 : Subquery and order by
2004-03-16 16:28:50 +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
bar@bar.intranet.mysql.r18.ru
c93ff40c51
Bug #2959 UTF8 charset breaks joins with mixed column/string constant
2004-03-03 11:22:25 +04: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
lenz@kallisto.local
b8c47718d4
- removed extraneous Item_ident:: to fix a compile error on HP-UX
2004-02-27 19:08:56 +01:00
bell@sanja.is.com.ua
8a442c4e0d
after review fix
2004-02-20 15:37:45 +02:00
bell@sanja.is.com.ua
44b37b089a
merge
2004-02-14 13:31:39 +02:00
serg@serg.mylan
01c2ca5b8a
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-02-13 15:30:00 +01:00
serg@serg.mylan
5914e5705c
my_atof is deleted
...
strtod from mit-threads is restored and cleaned up
2004-02-13 15:27:21 +01: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
bell@sanja.is.com.ua
69e2460bd4
fixed subquery with PS (BUG#2462)
...
fixed UNION preparation
2004-02-08 20:14:13 +02:00
bar@bar.intranet.mysql.r18.ru
e2ffbc1a6a
Indexes can be used for optimization if the operation
...
collation is the same with the index collation.
2004-02-02 17:50:14 +04:00
hf@deer.(none)
5b32ce5b0d
Merge deer.(none):/home/hf/work/mysql-4.1.clean
...
into deer.(none):/home/hf/work/mysql-4.1.1676
2004-01-20 21:00:29 +04:00
hf@deer.(none)
37abf689ec
Pack of changes about 'cleanup()'-s
...
Some errorneous code trimmed
2004-01-20 20:55:47 +04: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)
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
bar@bar.intranet.mysql.r18.ru
d921a05ec6
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into bar.intranet.mysql.r18.ru:/usr/home/bar/mysql-4.1
2004-01-19 19:21:07 +04:00
bar@bar.intranet.mysql.r18.ru
f802ec0215
UCS-2 aligning 0xAA -> 0x00AA
2004-01-19 19:16:30 +04: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
ram@gw.mysql.r18.ru
9dba5a709b
Fix for the bug #2198 : SELECT INTO OUTFILE (with Sub-Select) Problem.
...
Proper Item_cache::setup() method.
Code cleanup.
(discussed with sanja)
2003-12-25 18:50:22 +04:00