summaryrefslogtreecommitdiff
path: root/source/fud_sqlite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fud_sqlite.cpp')
-rw-r--r--source/fud_sqlite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fud_sqlite.cpp b/source/fud_sqlite.cpp
index e13feee..735389f 100644
--- a/source/fud_sqlite.cpp
+++ b/source/fud_sqlite.cpp
@@ -140,7 +140,7 @@ FudStatus SqliteDb::initialize()
m_nameValid = m_name.utf8Valid();
if (!m_nameValid) {
- return FudStatus::InvalidInput;
+ return FudStatus::ArgumentInvalid;
}
m_errorCode = open();
@@ -178,7 +178,7 @@ SqliteStatement::SqliteStatement(const SqliteDb& sqliteDb, const String& input)
}
if (!input.utf8Valid() || input.length() > INT_MAX) {
- m_status = FudStatus::InvalidInput;
+ m_status = FudStatus::ArgumentInvalid;
return;
}