Adjust an error message

This commit is contained in:
Ivan Ukhov 2015-06-19 20:24:34 -04:00
parent d8835fec8c
commit e9f6fc0f1a

View File

@ -132,7 +132,7 @@ impl Value for String {
unsafe { unsafe {
let pointer = ffi::sqlite3_column_text(statement.raw.0, i as c_int); let pointer = ffi::sqlite3_column_text(statement.raw.0, i as c_int);
if pointer.is_null() { if pointer.is_null() {
raise!("cannot read a TEXT column"); raise!("cannot read a text column");
} }
Ok(c_str_to_string!(pointer)) Ok(c_str_to_string!(pointer))
} }