| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
into mysql.com:/M50/mysql-5.0
|
| |\ |
|
| | | |
|
|/ / |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
#5860 "Multi-table UPDATE does not activate update triggers"
#6812 "Triggers are not activated for INSERT ... SELECT"
#8755 "Trigger is not activated by LOAD DATA".
This patch also implements proper handling of triggers for special forms
of insert like REPLACE or INSERT ... ON DUPLICATE KEY UPDATE.
Also now we don't call after trigger in case when we have failed to
inserted/update or delete row. Trigger failure should stop statement
execution.
I have not properly tested handling of errors which happen inside of
triggers in this patch, since it is simplier to do this once we will be
able to access tables from triggers.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Memory leak in locally evalutated expressions during SP execution fixed by
reusing allocated item slots when possible.
Note: No test case added, since the test is a stress test that tries to make
the machine to run out of memory.
Second attempt, now tested with debug build, valgrind build, max (optimized)
build, with and without --debug, --vagrind and --ps-protocol.
Errors in trigger and view test with --debug in debug build where present
before this patch, and likewise for valgrind warnings for view test in
valgrind build with --ps-protocol.
|
| | | |
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
(BUG#10020)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Memory leak in locally evalutated expressions during SP execution fixed by
reusing allocated item slots when possible.
Note: No test case added, since the test is a stress test that tries to make
the machine to run out of memory.
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
need, so support of correct item address added to SP commands (BUG#5963)
some optimisation of IF/NOT IF ptomised to Pem
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
InnoDB
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Added option --count to mysqlshow (to show number of rows)
Fixed possible core dump in information schema
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Mostly about precision/decimals of the results of the operations
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
when it
should return a non empty one"
(see comments for the changed files for details).
|
|\ \ \ \
| | |/ /
| |/| |
| | | | |
into mysql.com:/opt/local/work/mysql-5.0-root
|
| | | | |
|
| |\ \ \
| | |_|/
| |/| |
| | | | |
into sanja.is.com.ua:/home/bell/mysql/bk/work-test-5.0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
subqueries and resolved item itseld have to be correctly marked as dependent
(BUG#10041)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
records if prepared statements is used" (see comments to
the changed files).
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
records if prepared statements is used".
This fix changes equality evaluation method of basic constants from
by-name to by-value, thus effectively enabling use of parameter markers
in some optimizations (constants propagation, evaluation of possible
keys for query).
|
|\ \ \
| | | |
| | | |
| | | | |
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
|
| | |/
| |/|
| | |
| | |
| | | |
- Remove linking of libsupc++
- Move all local static variables to filescope
|
|/ /
| |
| |
| | |
Correct previous bugfix
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added a test case for bug #9338.
sql_select.cc:
Fixed bug #9338.
When an occurence of a field reference has to be replaced
by another field reference the whole Item_field must be
replaced.
item.cc:
Fixed bug #9338.
The method Item_field::replace_equal_field_processor was
replaced by Item_field::replace_equal_field. The new method
is used to replace the occurences of Item_field objects.
item.h:
Fixed bug #9338.
The virtual function replace_equal_field_processor was replaced
by replace_equal_field. The latter is supposed to be used as a
callback function in calls of the method transform.
|
| |
| |
| |
| | |
causes system crash.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
fixing tests accordingly
item.cc:
Allow mixing non-binary collation and binary collation
even if coercibility is the same.
For easier 4.0 -> 4.1 migrating.
|
| |\
| | |
| | |
| | | |
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
|
|\ \ \
| | | |
| | | |
| | | | |
into deer.(none):/home/hf/work/mysql-5.0.errmsg
|
| | | | |
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
DEFAULT (with no argument) or to the field's type's default by not being
listed in the list of fields being inserted. (Bug #5986)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
after merge fix
sql/mysqld.cc
too early for sync-binlog=1 by default :)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
when linking staticly
Fix that mysql.proc works with new VARCHAR fields
Give warnings for wrong zero dates
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | | |
into mysql.com:/home/my/mysql-5.0
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
CAST() now produces warnings when casting a wrong INTEGER or CHAR values. This also applies to implicite string to number casts. (Bug #5912)
ALTER TABLE now fails in STRICT mode if it generates warnings.
Inserting a zero date in a DATE, DATETIME or TIMESTAMP column during TRADITIONAL mode now produces an error. (Bug #5933)
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
into sanja.is.com.ua:/home/bell/mysql/bk/work-union_merge-5.0
|
| | | | | | |
|
| |\ \ \ \ \
| | |/ / / /
| |/| | / /
| | | |/ /
| | |/| | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | /
| | |_|/
| |/| | |
|