<div dir="ltr">Hello Daniel,<div><br><div>After update my kamailio to version 4.3 and change the table location as required in migration process, kamailio start giving some errors:</div><div><br></div><div><div>[root@ccp1 kamailio]# 35(7637) ERROR: db_mysql [km_dbase.c:121]: db_mysql_submit_query(): driver error on query: Unknown column 'partition' in 'where clause'</div><div>35(7637) ERROR: <core> [db_query.c:132]: db_do_query_internal(): error while submitting query</div><div><br></div><div>that's is because the column name "partition" is reserved word (<a href="http://dev.mysql.com/doc/refman/5.6/en/keywords.html">http://dev.mysql.com/doc/refman/5.6/en/keywords.html</a>) in mysql ndbcluster engine, so what i did to fix this issue was add a new modparam in </div><div>modules/usrloc/ul_mod.c file:<br></div><div><br></div><div>{"partition_col",       PARAM_STR, &partition_col},<br></div><div><br></div><div><br></div><div>with this i can configure what name i want for this column in kamailio module configuration and configure a diferent column name in  table location(ex: modparam("usrloc", "partition_col", "partitionusrloc") ),  Can you please check out if what i did is the correct way to fix it, in order to avoid damage something else.</div><div><br></div><div>Best regards</div><div>-- <br></div><div class="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</div></div></div>