nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9503ca
)
lib/sqlite3: fix conversion of NativeString to String
author
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 21 Jul 2014 18:50:38 +0000
(14:50 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 30 Jul 2014 13:10:31 +0000
(09:10 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sqlite3/sqlite3.nit
patch
|
blob
|
history
diff --git
a/lib/sqlite3/sqlite3.nit
b/lib/sqlite3/sqlite3.nit
index
6856d9d
..
5a5c0dc
100644
(file)
--- a/
lib/sqlite3/sqlite3.nit
+++ b/
lib/sqlite3/sqlite3.nit
@@
-228,7
+228,7
@@
class StatementEntry
var native_string = statement.native_statement.column_text(index)
if native_string.address_is_null then return ""
- return native_string.to_s
+ return native_string.to_s_with_copy
end
# Get this entry as `Blob`