pem@mysql.comhem.se
4043c0f3db
Implemented the stored procedure data access characteristics:
...
NO SQL
CONTAINS SQL (default)
READS SQL DATA
MODIFIES SQL DATA
These are needed as hints for the replication.
(Before this, we did have the default in the mysql.proc table, but no support in the parser.)
2004-10-14 18:07:09 +02:00
timour@mysql.com
8ab4a7a101
Merge with implementation of WL#1724.
2004-10-11 10:47:08 +03:00
bell@sanja.is.com.ua
29593da2f6
showing table type now is controled by new parameter 'FULL' of SHOW TABLES command (SHOW FULL TABLES) (as it was decided on last dev conf)
2004-10-10 13:15:14 +03:00
bell@sanja.is.com.ua
183036ea9a
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-09 18:52:27 +03:00
bell@sanja.is.com.ua
c287345cb8
fixed incorrect type custing (fixed problem with runing tests with --debug (thanks, Sergei Gluhov spoted it))
2004-10-09 18:51:19 +03: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
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
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
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
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
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
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
ff102adddf
fix xml with view
2004-09-26 19:00:55 +03: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
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
pem@mysql.comhem.se
5b10e3e5b5
Fixed BUG#3583: query cache doesn't work for stored procedures.
2004-09-17 15:40:38 +02: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
monty@mishka.local
91ff64e107
Added options --auto-increment-increment and --auto-increment-offset.
...
This allows one to setup a master <-> master replication with non conflicting auto-increment series.
Cleaned up binary log code to make it easyer to add new state variables.
Added simpler 'upper level' logic for artificial events (events that should not cause cleanups on slave).
Simplified binary log handling.
Changed how auto_increment works together with to SET INSERT_ID=# to make it more predictable: Now the inserted rows in a multi-row statement are set independent of the existing rows in the table. (Before only InnoDB did this correctly)
2004-09-15 22:10:31 +03:00
bell@sanja.is.com.ua
bcadf50bc0
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-11 18:50:54 +03:00
bell@sanja.is.com.ua
900a62961f
view with WHERE in nested join (BUG#5511)
2004-09-10 22:39:04 +03:00
pem@mysql.com
e66b5c404c
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/home/pem/work/mysql-5.0-merge
2004-09-10 16:33:21 +02:00
pem@mysql.comhem.se
728000b225
Fixed BUG#4941: Stored procedure crash fetching null value into variable.
2004-09-10 16:28:11 +02:00
bell@sanja.is.com.ua
c2f652211a
post merge fix
2004-09-10 15:08:30 +03:00
bell@sanja.is.com.ua
5fff725e43
Merge
2004-09-10 14:01:02 +03:00
bell@sanja.is.com.ua
4cb6527421
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-show-5.0
2004-09-10 13:11:33 +03:00
pem@mysql.comhem.se
624cf0e537
Fixed BUG#3294: Stored procedure crash if table dropped before use.
...
Dropping the table was not the real problem, the problem was with errors
occuring within error handlers.
2004-09-10 11:11:52 +02:00
timour@mysql.com
e76e617e01
Implementation of the last review comments for WL#1724
...
"Min/Max Optimization for Queries with Group By Clause"
2004-09-10 04:45:15 +03:00
bell@sanja.is.com.ua
763c57d41f
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-show-5.0
2004-09-10 02:26:09 +03:00
bell@sanja.is.com.ua
a23857e071
post merge fixes
2004-09-10 02:22:44 +03:00
dlenev@mysql.com
9cc2dba2ea
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-1218-a
2004-09-09 23:45:19 +04:00