mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
Some formatting oversights
This commit is contained in:
parent
ac98725a3f
commit
935d1e7382
1 changed files with 28 additions and 27 deletions
|
@ -174,13 +174,13 @@ private:
|
|||
boost::scoped_array< bool > value_set;
|
||||
boost::scoped_array< bool > delete_blob_after_execute;
|
||||
|
||||
typedef std::map<unsigned int, Blob_t > Blobs;
|
||||
typedef std::map< uint32_t, Blob_t > Blobs;
|
||||
|
||||
Blobs blob_bind;
|
||||
|
||||
public:
|
||||
|
||||
ParamBind(unsigned int paramCount)
|
||||
ParamBind( uint32_t paramCount )
|
||||
: m_paramCount( paramCount ),
|
||||
bind( nullptr ),
|
||||
value_set( nullptr ),
|
||||
|
@ -193,7 +193,7 @@ public:
|
|||
|
||||
value_set.reset( new bool[paramCount] );
|
||||
delete_blob_after_execute.reset( new bool[paramCount] );
|
||||
for (unsigned int i = 0; i < paramCount; ++i)
|
||||
for( uint32_t i = 0; i < paramCount; ++i )
|
||||
{
|
||||
bind[i].is_null_value = 1;
|
||||
value_set[i] = false;
|
||||
|
@ -216,12 +216,12 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void set( unsigned int position )
|
||||
void set( uint32_t position )
|
||||
{
|
||||
value_set[position] = true;
|
||||
}
|
||||
|
||||
void unset( unsigned int position )
|
||||
void unset( uint32_t position )
|
||||
{
|
||||
value_set[position] = false;
|
||||
if( delete_blob_after_execute[position] )
|
||||
|
@ -233,7 +233,7 @@ public:
|
|||
}
|
||||
|
||||
|
||||
void setBlob( unsigned int position, Blob_t & blob, bool delete_after_execute )
|
||||
void setBlob( uint32_t position, Blob_t & blob, bool delete_after_execute )
|
||||
{
|
||||
set( position );
|
||||
|
||||
|
@ -405,6 +405,7 @@ bool Core::Db::PreparedStatement::execute( const std::string &sql )
|
|||
|
||||
Core::Db::ResultSet* Core::Db::PreparedStatement::executeQuery( const std::string &sql )
|
||||
{
|
||||
// not to be implemented for prepared statements
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue