Add Statement::columns

This commit is contained in:
Ivan Ukhov
2015-08-01 13:55:34 -04:00
parent 2275f8157f
commit 3d0bf10912
3 changed files with 9 additions and 1 deletions

View File

@ -58,7 +58,7 @@ macro_rules! raise(
macro_rules! error(
($connection:expr, $code:expr) => (match ::error::last($connection) {
Some(error) => return Err(error),
None => return Err(::Error::from(::ErrorKind::from($code as isize))),
_ => return Err(::Error::from(::ErrorKind::from($code as isize))),
});
);