mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
81d9bed3a4
TO_CHAR(expr, fmt) - expr: required parameter, data/time/timestamp type expression - fmt: optional parameter, format string, supports YYYY/YYY/YY/RRRR/RR/MM/MON/MONTH/MI/DD/DY/HH/HH12/HH24/SS and special characters. The default value is "YYYY-MM-DD HH24:MI:SS" In Oracle, TO_CHAR() can also be used to convert numbers to strings, but this is not supported. This will gave an error in this patch. Other things: - If format strings is a constant, it's evaluated only once and if there is any errors in it, they are given at once and the statement will abort. Original author: woqutech Lots of optimizations and cleanups done as part of review
7 lines
168 B
Text
7 lines
168 B
Text
To run a test suite under this directory, you should use the format:
|
|
|
|
mysql-test-run --suite=compat/oracle
|
|
|
|
or to run one test:
|
|
|
|
mysql-test-run compat/oracle.test_name
|