Fórum CRIAÇÕES DE FUNÇÕES #612820
12/09/2020
0
09:54:22 create function soma (x int, y int) returns int return (x + y) Error Code: 1418. This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) 0.000 sec
Isso aparece quando tento criar funções simples como:
create function soma (x int, y int)
returns int
return (x + y);
Petkovic Silva
Curtir tópico
+ 0Post mais votado
12/09/2020
create function soma (x int, y int) returns int deterministic return (x + y);
Emerson Nascimento
Gostei + 1
Mais Posts
29/05/2022
Rodrigo Cruz
mas porquê???
Gostei + 0
30/05/2022
Emerson Nascimento
https://dev-mysql-com.translate.goog/doc/refman/8.0/en/binary-log.html?_x_tr_sl=en&_x_tr_tl=pt&_x_tr_hl=pt-BR&_x_tr_pto=wapp
uso de DETERMINISTIC, NO SQL, ou READS SQL DATA em programas armazenados
https://dev-mysql-com.translate.goog/doc/refman/5.6/en/stored-programs-logging.html?_x_tr_sl=en&_x_tr_tl=pt&_x_tr_hl=pt-BR&_x_tr_pto=wapp
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)