Sergei Golubchik
180065ebb0
Item::print(): remove redundant parentheses
...
by introducing new Item::precedence() method and using it
to decide whether parentheses are required
2016-12-12 20:44:41 +01:00
Sergei Golubchik
1db438c833
MDEV-11066 use MySQL terminology for "virtual columns"
2016-12-12 20:35:51 +01:00
Sergei Golubchik
a411d7f4f6
store/show vcols as item->print()
...
otherwise we'd need to store sql_mode *per vcol*
(consider CREATE INDEX...) and how SHOW CREATE TABLE would
support that?
Additionally, get rid of vcol::expr_str, just to make sure
the string is always generated and never leaked in the
original form.
2016-12-12 20:35:41 +01:00
Sergey Vojtovich
282497dd6d
MDEV-6720 - enable connection log in mysqltest by default
2016-03-31 10:11:16 +04:00
Sergei Golubchik
b4a0b2c2f8
post-merge fixes.
...
most tests pass.
5.3 merge is next
2011-07-02 22:12:12 +02:00
Igor Babaev
f7a75b999b
The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns.
...
The original patch has been ameliorated by Sanja and Igor.
2009-10-16 15:57:48 -07:00