Open bodji opened 4 years ago
If you add an id
column yourself, does it error somewhere else? @bodji
I try, and I come back to you asap.
Not much better.
There a plenty of hard coded INSERT with no column listing, and when we have a primary key (even if auto_increment is enabled) :
[CRIT] mod_mariadb.c:632 Failed to send query (insert into complete values (0,'nat_map', 'reinit', '', '', '', '', '', '', '', '', 'freeswitch-zhst8')) to database: Column count doesn't match value count at row 1
Mathieu
Hi, has the problem been solved? I meet this problem too. When i use MySQL(8+) on cloud,I try to create table with the id
primary, but it doesn't work bacause of the hard code like INSERT.
Not much better.
There a plenty of hard coded INSERT with no column listing, and when we have a primary key (even if auto_increment is enabled) :
[CRIT] mod_mariadb.c:632 Failed to send query (insert into complete values (0,'nat_map', 'reinit', '', '', '', '', '', '', '', '', 'freeswitch-zhst8')) to database: Column count doesn't match value count at row 1
Mathieu
This error fixed in https://github.com/signalwire/freeswitch/pull/2100
Hi,
When using the new module mod_mariadb with a galera cluster, we have some errors :
When digging a little it seems it is caused by tables without primary keys,
and this is the case for tables created by sofia stack :
https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/endpoints/mod_sofia/sofia_glue.c#2375
We see directives like this :
Can you add an "id" column or something acting as PRIMARY KEY for those tables ? Thank you very much !
Kind regards, Mathieu Bodjikian