mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Merge pull request #62932 from rschu1ze/unflake-02813_func_now_and_alias
Unflake 02813_func_now_and_alias
This commit is contained in:
commit
6eb33bd9ef
@ -93,7 +93,7 @@ enable_language(ASM)
|
||||
|
||||
if(COMPILER_CLANG)
|
||||
add_definitions(-Wno-unused-command-line-argument)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fuse-ld=lld")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fuse-ld=lld") # only relevant for -DENABLE_OPENSSL_DYNAMIC=1
|
||||
endif()
|
||||
|
||||
if(ARCH_AMD64)
|
||||
|
@ -1,3 +1,6 @@
|
||||
SELECT now() = current_timestamp();
|
||||
SELECT now() = CURRENT_TIMESTAMP();
|
||||
SELECT now() = current_TIMESTAMP();
|
||||
-- "Tests" current_timestamp() which is an alias of now().
|
||||
-- Since the function is non-deterministic, only check that no bad things happen (don't check the returned value).
|
||||
|
||||
SELECT count() FROM (SELECT current_timestamp());
|
||||
SELECT count() FROM (SELECT CURRENT_TIMESTAMP());
|
||||
SELECT count() FROM (SELECT current_TIMESTAMP());
|
||||
|
Loading…
Reference in New Issue
Block a user