bell@sanja.is.com.ua
064b02203f
new lock for multiupdate:
...
- open and create derived tables
- detect which tables should be locked for write
- lock and fill derived tables
some unitialized variables fixed
2004-11-05 17:29:47 +02:00
serg@serg.mylan
b2dd380beb
take into accound end \0 in decimal_string_size
2004-11-03 22:30:37 +01:00
serg@serg.mylan
9dfea75b3e
Merge bk-internal:/home/bk/mysql-5.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2004-11-03 19:08:29 +01:00
monty@mysql.com
0c1bcddbae
After merge fixes
2004-11-03 20:07:17 +02:00
serg@serg.mylan
0aa6ce09a6
Merge bk-internal:/home/bk/mysql-5.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2004-11-03 18:46:17 +01:00
serg@serg.mylan
44ddca5399
error codes chaged to bitmap (for easier testing with masks)
...
two more round() modes - CEILING and FLOOR
2004-11-03 18:43:48 +01:00
monty@mysql.com
60691a637a
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2004-11-03 18:52:03 +02:00
pem@mysql.comhem.se
327eb9bbff
Various syntax fixes in sql/sql_yacc.yy for stored procedures:
...
- No RESTICT|CASCADE in DROP SP (since it's not implemented)
- Added optional "noise" to FETCH: [[NEXT] FROM]
- At least one statement required in all block constructs except BEGIN-END
(where zero is allowed)
2004-11-03 13:49:54 +01:00
monty@mysql.com
7d3be517a4
Merge on pull
2004-11-03 13:01:38 +02:00
monty@mysql.com
47bbf768d4
Fixes after merge with 4.1
...
FOUND is not a reserved keyword anymore
Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted
Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT
Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
2004-11-03 12:39:38 +02:00
serg@serg.mylan
3ba5e604ce
Merge bk-internal:/home/bk/mysql-5.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2004-11-02 20:46:51 +01:00
serg@serg.mylan
16c5f3c59b
allocate temp array big enough for not to worry about bound checking in look-aheads
2004-11-02 20:45:55 +01:00
gluh@gluh.mysql.r18.ru
684d722b46
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0
2004-11-02 17:46:19 +03:00
gluh@gluh.mysql.r18.ru
4c65a9447e
WL#1437 :don't create new users with GRANT
2004-11-02 17:45:26 +03:00
serg@serg.mylan
e64d290b83
different (hopefully, correct) fix for bin2decimal bug
...
tests added
2004-11-02 13:55:44 +01:00
serg@serg.mylan
fd88351a38
s/sint/uint/ - no sign extend for signed bytes
2004-11-02 12:17:58 +01:00
serg@serg.mylan
ea69fe3072
ROUND_UP(negative_number) doesn't work
2004-11-02 09:45:03 +01:00
serg@serg.mylan
5dce4d78d5
one more pre-division bug
2004-11-01 23:44:05 +01:00
serg@serg.mylan
9bda96c5fd
yet another s/>/>=/ typo
2004-11-01 14:47:18 +01:00
serg@serg.mylan
bc76b8233d
correct test for 1/3
...
more tests
2004-11-01 13:58:28 +01:00
serg@serg.mylan
e933ae7dd2
Merge bk-internal:/home/bk/mysql-5.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2004-11-01 11:31:17 +01:00
serg@serg.mylan
9820e00cba
stript end zeros before comparison
2004-11-01 11:28:36 +01:00
timour@mysql.com
2323a3dc9c
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
...
into mysql.com:/home/timka/mysql/src/5.0-dbg
2004-11-01 10:13:16 +02:00
timour@mysql.com
157dfcf4a4
Minor fixes of the patch for BUG#6303
2004-11-01 10:12:39 +02:00
serg@serg.mylan
b0045f9e00
compare with DIG_BASE corectly
...
rounding bugs fixed
2004-10-31 21:30:19 +01:00
serg@serg.mylan
afd18341ac
new round mode - half_up
2004-10-31 13:15:44 +01:00
serg@serg.mylan
65ba01382b
small optimization
2004-10-31 12:29:38 +01:00
serg@serg.mylan
d35d010173
two more places with the same zero-stripping bug
2004-10-31 00:02:13 +02:00
serg@serg.mylan
54403b233a
sanity checks for decimal result buffers
2004-10-30 19:27:54 +02:00
serg@serg.mylan
5c8155955b
bugfix and test case
2004-10-30 18:31:35 +02:00
monty@mysql.com
afbe601302
merge with 4.1
2004-10-29 19:26:52 +03:00
timour@mysql.com
b67f86728b
Fix for BUG#6303 + fix for discovered bug with sub-queries when analyzin queries for MIN/MAX optimization (WL#1724).
2004-10-29 18:20:09 +03:00
serg@serg.mylan
1f7aa03e42
new api per hf request:
...
string2decimal_fixed
decimal_round(from, to)
decimal_make_zero
decimal_string_size
decimal_neg
2004-10-29 00:22:54 +02:00
serg@serg.mylan
4375e59901
Merge bk-internal:/home/bk/mysql-5.0/
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2004-10-28 21:22:15 +02:00
bar@mysql.com
541883f9d8
Produce a "truncated" warning if a value cannot be converted
...
into the column character set on INSERT/UPDATE.
2004-10-28 15:21:20 +05:00
joerg@mysql.com
c8ba8c1306
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/M41/mysql-4.1
2004-10-28 11:35:27 +02:00
joerg@mysql.com
3002070294
Merge mysql.com:/M41/mysql-4.1 into mysql.com:/M41/push-4.1
2004-10-28 11:32:19 +02:00
bar@mysql.com
2fc0d7e422
An extra "separator" class member was removed from Item_func_concat_ws.
...
args[0] is now used instead.
2004-10-28 11:43:31 +05:00
konstantin@mysql.com
891a8f5785
Making the latest fix for Bug#6166 (key.test) work in prepared statements.
2004-10-28 02:54:32 +04:00
bell@sanja.is.com.ua
75f7235e8d
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
2004-10-27 23:31:24 +03:00
joerg@mysql.com
5163c03bad
Fix for bug#5385 ("Text files have unix line break"):
...
Windows style line end \r\n on README, license, and similar essential plaintext files.
2004-10-27 21:59:34 +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
monty@mysql.com
5b29f59aa8
Fixed access to freed memory
2004-10-27 21:56:17 +03:00
bell@sanja.is.com.ua
9aa2d5f750
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
2004-10-27 21:17:31 +03:00
bell@sanja.is.com.ua
3ae044c24f
removed incorrect error message about aggregate functions
...
improved mechanisn of detection posibility to be NULL for single row queries
switched off substitution optimisation for single row subqueries in PS due to problem in resolving substituted expressions
(changes to make subselects test working with PS protocol)
2004-10-27 21:11:06 +03:00
monty@mysql.com
3493f54a5e
Merge with 4.0
2004-10-27 19:52:41 +03:00
monty@mysql.com
d5691702d7
Fix when compiling without InnoDB
2004-10-27 18:57:49 +03:00
heikki@hundin.mysql.fi
67456bb970
btr0sea.c, buf0lru.c, buf0buf.c, ha0ha.c, hash0hash.h, ha0ha.h, buf0buf.h:
...
Link adaptive hash index entries to the buffer page, so that we can remove them quickly without knowing the record structure on that page; this was requested by Marko for the compact InnoDB table format; note that the adaptive hash index memory overhead grows by 67 %, maybe we have to tune this later somehow
2004-10-27 15:45:10 +03:00
marko@hundin.mysql.fi
b5f49a3abd
Backport innodb_max_purge_lag from 4.1
2004-10-27 13:33:11 +03:00
serg@serg.mylan
cce8f5449d
after merge fix
2004-10-26 22:41:45 +02:00