mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
fix exportsql issue 244
+Infinite and -Infinite Expression on Export Database to SQL file #244 https://github.com/sqlitebrowser/sqlitebrowser/issues/244
This commit is contained in:
@@ -453,6 +453,12 @@ bool DBBrowserDB::dump(const QString& filename)
|
||||
case SQLITE_NULL:
|
||||
stream << "NULL";
|
||||
break;
|
||||
case SQLITE_FLOAT:
|
||||
if(bcontent.indexOf("Inf") != -1)
|
||||
stream << "'" << bcontent << "'";
|
||||
else
|
||||
stream << bcontent;
|
||||
break;
|
||||
default:
|
||||
stream << bcontent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user