|
From: | Jehan Monnier |
Subject: | Re: [Linphone-users] std::bad_cast exceptions in liblinphone/src/db/main-db.cpp (4.4.21) |
Date: | Wed, 31 Mar 2021 17:18:48 +0200 |
Hi Denis, Thanks and congratulation for this deep analyze. Having common code for both sqlite and mysql is a design choice to maximize code reuse. It implies to make sure sql types are available on both backends. From your analyse, I understand this is not the case for TINYINT UNSIGNED with current version of SOCI. I saw your patch for SOCi and I definitively think is the right approach as it does not really make sens to perform conversion from string to int at the Linphone level. My only concern is to understand why never we found this issue? In your e-mail you stated « under certain circumstances» can you elaborate a bit more on such circontancies ? Best regards
|
[Prev in Thread] | Current Thread | [Next in Thread] |