projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
source
/
dbms.mysql
/
OracleTranslator.cpp
diff --git
a/source/dbms.mysql/OracleTranslator.cpp
b/source/dbms.mysql/OracleTranslator.cpp
index
4db0d52
..
93be662
100644
(file)
--- a/
source/dbms.mysql/OracleTranslator.cpp
+++ b/
source/dbms.mysql/OracleTranslator.cpp
@@
-31,7
+31,7
@@
mysql::OracleTranslator mysql::OracleTranslator::st_this;
* update goo set xx=? where yy=?
*/
const char* mysql::OracleTranslator::apply(const char* statement)
* update goo set xx=? where yy=?
*/
const char* mysql::OracleTranslator::apply(const char* statement)
-
throw(RuntimeException
) {
+
noexcept(false
) {
bool makeit = false;
if(anna_strchr(statement, ':') != NULL)
bool makeit = false;
if(anna_strchr(statement, ':') != NULL)
@@
-77,7
+77,7
@@
throw(RuntimeException) {
}
void mysql::OracleTranslator::allocate(const char* statement)
}
void mysql::OracleTranslator::allocate(const char* statement)
-
throw()
{
+{
const int size = anna_strlen(statement);
if(size > a_size) {
const int size = anna_strlen(statement);
if(size > a_size) {