### Description
partition is now a reserved word in MariaDB 10.
the column name is correctly quoted with native libmysqlclient/libmariadb so 
works

the column name is not quoted with unixodbc+(libmyodbc8|libmaodbc) and so fails

### Troubleshooting
try unquoted insert

-- fails unixodbc+libmaodbc
insert into location (partition) values (1000);  

-- works native libmysqlclient|libmariadb
insert into location (`partition`) values (1000);

#### Reproduction
1. config enable usrloc / registrar with unixodbc + MySQL/MariaDB connector

#### Debugging Data

SQL insert into statement fails

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3742
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to