mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Remove Column::errmsg() method : use Database or Statement equivalents
This commit is contained in:
parent
300f278281
commit
2abcf45bb9
@ -233,9 +233,6 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Return UTF-8 encoded English language explanation of the most recent error.
|
||||
const char* errmsg() const;
|
||||
|
||||
private:
|
||||
Statement::Ptr mStmtPtr; //!< Shared Pointer to the prepared SQLite Statement Object
|
||||
int mIndex; //!< Index of the column in the row of result, starting at 0
|
||||
|
@ -106,12 +106,6 @@ int Column::getBytes() const noexcept // nothrow
|
||||
return sqlite3_column_bytes(mStmtPtr, mIndex);
|
||||
}
|
||||
|
||||
// Return UTF-8 encoded English language explanation of the most recent error.
|
||||
const char* Column::errmsg() const
|
||||
{
|
||||
return sqlite3_errmsg(mStmtPtr);
|
||||
}
|
||||
|
||||
// Standard std::ostream inserter
|
||||
std::ostream& operator<<(std::ostream& aStream, const Column& aColumn)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user