mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Merge linux-st28.site:/home/martin/mysql/src/bug30832-again/my50-bug30832-again
into linux-st28.site:/home/martin/mysql/src/bug30832-again/my51-bug30832-again mysql-test/r/func_misc.result: Auto merged mysql-test/t/func_misc.test: Auto merged sql/item_func.h: Auto merged
This commit is contained in:
commit
46f2f2ef11
3 changed files with 9 additions and 0 deletions
|
@ -200,9 +200,15 @@ NULL
|
|||
SELECT NAME_CONST('test', 1);
|
||||
test
|
||||
1
|
||||
SELECT NAME_CONST('test', -1);
|
||||
test
|
||||
-1
|
||||
SELECT NAME_CONST('test', 1.0);
|
||||
test
|
||||
1.0
|
||||
SELECT NAME_CONST('test', -1.0);
|
||||
test
|
||||
-1.0
|
||||
SELECT NAME_CONST('test', 'test');
|
||||
test
|
||||
test
|
||||
|
|
|
@ -208,7 +208,9 @@ SELECT NAME_CONST('test', UPPER('test'));
|
|||
|
||||
SELECT NAME_CONST('test', NULL);
|
||||
SELECT NAME_CONST('test', 1);
|
||||
SELECT NAME_CONST('test', -1);
|
||||
SELECT NAME_CONST('test', 1.0);
|
||||
SELECT NAME_CONST('test', -1.0);
|
||||
SELECT NAME_CONST('test', 'test');
|
||||
|
||||
--echo End of 5.0 tests
|
||||
|
|
|
@ -436,6 +436,7 @@ public:
|
|||
longlong int_op();
|
||||
my_decimal *decimal_op(my_decimal *);
|
||||
const char *func_name() const { return "-"; }
|
||||
virtual bool basic_const_item() const { return args[0]->basic_const_item(); }
|
||||
void fix_length_and_dec();
|
||||
void fix_num_length_and_dec();
|
||||
uint decimal_precision() const { return args[0]->decimal_precision(); }
|
||||
|
|
Loading…
Reference in a new issue