8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00

One more attempt to fix DOW function on windows

This commit is contained in:
AlexPeshkoff 2019-01-28 13:41:49 +03:00
parent 5b8e562c80
commit e83d59492f
2 changed files with 4 additions and 4 deletions

View File

@ -14,13 +14,13 @@ create function frac (
create function dow (
val timestamp
) returns varchar(53) character set utf8
) returns varchar(53) character set none
external name 'udf_compat!UC_dow'
engine udr;
create function sdow (
val timestamp
) returns varchar(13) character set utf8
) returns varchar(13) character set none
external name 'udf_compat!UC_sdow'
engine udr;

View File

@ -56,14 +56,14 @@ if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB
if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB$FUNCTION_NAME = 'DOW')) then execute statement
'alter function dow (
val timestamp
) returns varchar(53) character set utf8
) returns varchar(53) character set none
external name ''udf_compat!UC_dow''
engine udr';
if (exists(select * from RDB$FUNCTIONS where RDB$MODULE_NAME is not null and RDB$FUNCTION_NAME = 'SDOW')) then execute statement
'alter function sdow (
val timestamp
) returns varchar(13) character set utf8
) returns varchar(13) character set none
external name ''udf_compat!UC_sdow''
engine udr';