Commit graph

15031 commits

Author SHA1 Message Date
igor@rurik.mysql.com
71f6ab7a09 Merge for Item_equal. 2004-10-09 10:34:13 -07:00
dlenev@brandersnatch.localdomain
80d2d8d662 Fix for bug #5887 "Triggers with string literals cause errors"
Fixed small error in new .FRM parser which caused it to handle 
improperly escaped strings.
2004-10-08 15:16:03 +04:00
bell@sanja.is.com.ua
ffc8bd5986 changing results after test changing 2004-10-08 12:05:32 +03:00
bell@sanja.is.com.ua
c5f5a8b65c Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
2004-10-08 11:29:06 +03:00
monty@mysql.com
aa2327f95e Portability fix (Got different results for double -> longlong when compiling with full optimization) 2004-10-08 00:48:42 +03:00
bell@sanja.is.com.ua
ca7a4e495f changes in SHOW CREATE VIEW output 2004-10-07 23:26:26 +03:00
bell@sanja.is.com.ua
78acfbb740 Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
2004-10-07 23:00:33 +03:00
bell@sanja.is.com.ua
78997a2acd allow merging views with subqueries in WHERE clause (BUG#5504) 2004-10-07 22:54:31 +03:00
pem@mysql.comhem.se
8b1a6d377f Revised BUG#5000: SPs can be created with no default database.
Now simply give an error if no database. (The "global SP feature" will be
done using PATH instead.)
2004-10-07 15:32:36 +02:00
monty@mysql.com
3a24c279be Fix results (becasue of strict mode) 2004-10-07 16:18:27 +03:00
bell@sanja.is.com.ua
d73ba9660d test of DELETE privilege and cyclic reference added in case of altering view (BUG#5148)
fixed ALTER VIEW syntax
fixed WITH CHECK OPTION clause printing in SHOW CREATE VIEW
2004-10-07 15:43:04 +03:00
monty@mysql.com
66406dc47c Updates tests after 'no automatic default' patch 2004-10-07 15:28:05 +03:00
bell@sanja.is.com.ua
da5a55e3cd sql_updatable_view_key replaced with updatable_views_with_limit
now default behaviour do not prevent any updates of view.
Also updating VIEWs of queries without LIMIT clause will not be checked at all (there will not be even warning)
(changes according to discussion on last dev-conf)
2004-10-07 12:13:42 +03:00
bell@sanja.is.com.ua
3ef0b19cd3 fixed & added comments (according to Igor's review and a bit more) 2004-10-07 01:45:06 +03:00
igor@rurik.mysql.com
a9b759af3e join_outer.result, join_outer.test:
Added a test case for bug #5896.
sql_select.cc:
  Fixed the problem of ignoring on expressions depending
  only on outer table when outer table either contains
  1 row or is guaranteed to return only 1 row (bug #5896).
2004-10-04 22:26:36 -07:00
monty@mishka.local
76a315410b After merge fixes 2004-10-05 03:05:20 +03:00
monty@mishka.local
5eca078b19 merge 2004-10-05 01:10:23 +03:00
monty@mishka.local
0fa62b691b Fixed bug in strict mode (A state was not properly cleared on successful insert/update's) 2004-10-05 01:05:15 +03:00
bell@sanja.is.com.ua
9062e99ee6 merge 2004-10-04 13:56:48 +03:00
bell@sanja.is.com.ua
9d9c950445 postmerge fix 2004-10-04 13:45:35 +03:00
bell@sanja.is.com.ua
03394ebe12 fixed problem with freeing stack memory 2004-10-04 12:34:41 +03:00
monty@mishka.local
be4ca46fbe More fixes for strict mode:
More tests.
Better error messages.
Fixed bug when checking if we updated all needed columns for INSERT.
Give an error if we encounter a wrong float value during parsing.
Don't print DEFAULT for columns without a default value in SHOW CREATE/SHOW FIELDS.
Fixed UPDATE IGNORE when using STRICT mode.
2004-10-02 22:20:08 +03:00
brian@avenger.(none)
da71f76910 Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
into avenger.(none):/export/brian/mysql/schema-5.0
2004-10-01 12:44:52 -07:00
brian@avenger.(none)
335a81ebb0 Update to add keyword "SCHEMA" and "SCHEMAS". Small test case was added too. 2004-10-01 12:39:11 -07:00
pem@mysql.comhem.se
f3a0ba3515 Fixed BUG#4905: Stored procedure doesn't clear for "Rows affected". 2004-09-29 18:55:05 +02:00
bell@sanja.is.com.ua
013512abab merge 2004-09-29 17:10:17 +03:00
bell@sanja.is.com.ua
392292a46b post review changes:
CHECK OPTION moved to one function
view name added to error messages
2004-09-29 16:35:01 +03:00
paul@kite-hub.kitebird.com
350dc64c8f mysqldump.c:
Add missing semicolons.
2004-09-28 14:18:23 -05:00
monty@mishka.local
1fc7e6af85 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mishka.local:/home/my/mysql-5.0
2004-09-28 20:19:03 +03:00
monty@mishka.local
f2941380c4 Strict mode & better warnings
Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field.
Added checking of date/datetime fields.
If strict mode, give error if we have not given value to field without a default value (for INSERT)
2004-09-28 20:08:00 +03:00
bell@sanja.is.com.ua
3bddaaf80f fix test suite for portability 2004-09-28 12:31:33 +03:00
bell@sanja.is.com.ua
b9bd1bde34 Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-dump-5.0
2004-09-26 19:09:43 +03:00
bell@sanja.is.com.ua
ff102adddf fix xml with view 2004-09-26 19:00:55 +03:00
guilhem@mysql.com
a5dac99ae0 Merge gbichot@bk-internal.mysql.com://home/bk/mysql-5.0
into mysql.com:/home/mysql_src/mysql-5.0
2004-09-24 18:25:54 +02:00
guilhem@mysql.com
2b2de7b62f In binary log events, flags are 2 bytes, not 4. Using 4 resulted in buffer overflow (and on a certain build it resulted in overwriting another part of the event without crashing :( ). 2004-09-24 18:25:06 +02:00
dlenev@brandersnatch.localdomain
258b84d6c0 For now we will require super privilege for creating/dropping trigger because proper
privilege checking is not in place yet.
2004-09-24 17:55:43 +04:00
bell@sanja.is.com.ua
2264bb01ca new show create view output
mysqldump view support (BUG#4972)
workaround to allow view work after LOCK TABLES
2004-09-24 12:50:10 +03:00
bell@sanja.is.com.ua
8cd9fd44b2 Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
2004-09-18 10:08:19 +03:00
dlenev@mysql.com
61f0869974 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/dlenev/src/mysql-5.0-amf
2004-09-18 01:34:38 +04:00
bell@sanja.is.com.ua
74e7df0d80 SHOW CREATE VIEW (TABLE) privilege now reqiere show create privilege
(BUG#4777)
2004-09-17 22:23:59 +03:00
bell@sanja.is.com.ua
26589ba8ce Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
2004-09-17 19:16:54 +03:00
dlenev@mysql.com
2667b7a14f Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/dlenev/src/mysql-5.0-amf
2004-09-17 19:50:54 +04:00
pem@mysql.comhem.se
5b10e3e5b5 Fixed BUG#3583: query cache doesn't work for stored procedures. 2004-09-17 15:40:38 +02:00
dlenev@brandersnatch.localdomain
154c1a0aa3 Fixed memory leak that occured after merge with 4.1
We should not replace Item_arena in Item_bool_func2::fix_length_and_dec() if this is
conventional statement, since in this case THD::current_arena is the same as active arena
and we will overwrite arena with its older version during restore_backup_item_arena()
call.
2004-09-17 14:01:32 +04:00
dlenev@mysql.com
ef31095c5c Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/dlenev/src/mysql-5.0-tzfix
2004-09-17 12:31:06 +04:00
dlenev@brandersnatch.localdomain
431467b116 Small after merge cleanup of time zone initialization code. 2004-09-17 12:30:26 +04:00
monty@mishka.local
095f7e8740 Removed wrong warnings in test suite (This was because select_insert / select_create results was not freed.
Added thd to openfrm() for initialization of TABLE->in_use. This fixed a bug in BDB handling where table->in_use was used early
2004-09-17 03:08:23 +03:00
bell@sanja.is.com.ua
226d4ad8f4 now we allow to careate VIEW without any privileges on view columns (except create view privilege) (BUG#5152) 2004-09-17 00:16:57 +03:00
bell@sanja.is.com.ua
09b316f051 updateability of field with collation support (BUG#5506) 2004-09-16 23:45:20 +03:00
monty@mishka.local
37864e2727 Merge 2004-09-15 22:36:57 +03:00