data housekeeping

- removed naked pointers from Data interfaces
- fixed GH #82: name conflict in Data::Keywords::bind
- fixed GH #157: MySQL: cannot bind to 'long' data type on
Windows/Visual C++
- fixed GH #158: MySQL: MYSQL_BIND 'is_unsigned' member is not set
This commit is contained in:
Aleksandar Fabijanic
2013-04-28 12:34:07 -05:00
parent c6207985d8
commit a50823c5a8
34 changed files with 669 additions and 597 deletions

View File

@@ -104,10 +104,10 @@ protected:
void bindImpl();
/// Binds parameters
AbstractExtractor& extractor();
AbstractExtraction::ExtractorPtr extractor();
/// Returns the concrete extractor used by the statement.
AbstractBinder& binder();
AbstractBinding::BinderPtr binder();
/// Returns the concrete binder used by the statement.
private:
@@ -144,15 +144,15 @@ private:
//
// inlines
//
inline AbstractExtractor& SQLiteStatementImpl::extractor()
inline AbstractExtraction::ExtractorPtr SQLiteStatementImpl::extractor()
{
return *_pExtractor;
return _pExtractor;
}
inline AbstractBinder& SQLiteStatementImpl::binder()
inline AbstractBinding::BinderPtr SQLiteStatementImpl::binder()
{
return *_pBinder;
return _pBinder;
}