sql: introduce DATETIME to SQL
This patch introduces basic DATETIME support in SQL. After this patch, it will be allowed to select DATETIME values from spaces, insert them into spaces, and use them in functions. CAST() from DATETIME to STRING, SCALAR and ANY is also supported. Part of #6773 NO_DOC=Doc-request will be added in another commit. NO_CHANGELOG=Changelog will be added in another commit.
Showing
- extra/mkkeywordhash.c 1 addition, 1 deletionextra/mkkeywordhash.c
- src/box/sql/func.c 9 additions, 0 deletionssrc/box/sql/func.c
- src/box/sql/mem.c 98 additions, 0 deletionssrc/box/sql/mem.c
- src/box/sql/mem.h 11 additions, 3 deletionssrc/box/sql/mem.h
- src/box/sql/parse.y 1 addition, 0 deletionssrc/box/sql/parse.y
- test/CMakeLists.txt 1 addition, 0 deletionstest/CMakeLists.txt
- test/sql-luatest/CMakeLists.txt 3 additions, 0 deletionstest/sql-luatest/CMakeLists.txt
- test/sql-luatest/datetime_test.lua 1589 additions, 0 deletionstest/sql-luatest/datetime_test.lua
- test/sql-luatest/sql_datetime.c 62 additions, 0 deletionstest/sql-luatest/sql_datetime.c
Loading
Please register or sign in to comment