IZMySQLPlainDriver Class Reference

Represents a generic interface to MySQL native API. More...

Inheritance diagram for IZMySQLPlainDriver:

IZPlainDriver IZInterface TZMySQL41PlainDriver TZMySQL5PlainDriver TZMySQLD41PlainDriver TZMySQLD5PlainDriver

List of all members.

Public Member Functions

Byte BindParameters (PZMySqlPrepStmt Handle, PZMysqlBindArray bindArray)
Byte BindResult (PZMySqlPrepStmt Handle, PZMysqlBindArray bindArray)
 BuildArguments (TStrings Options)
Boolean CheckAnotherRowset (PZMySQLConnect Handle)
 Close (PZMySQLConnect Handle)
PZMySqlPrepStmt ClosePrepStmt (PZMySqlPrepStmt PrepStmtHandle)
Boolean Commit (PZMySQLConnect Handle)
PZMySQLConnect Connect (PZMySQLConnect Handle, const PChar Host, const PChar User, const PChar Password)
Integer CreateDatabase (PZMySQLConnect Handle, const PChar Database)
 Debug (PChar Debug)
 Despose (PZMySQLConnect &Handle)
Integer DropDatabase (PZMySQLConnect Handle, const PChar Database)
Integer DumpDebugInfo (PZMySQLConnect Handle)
Integer ExecQuery (PZMySQLConnect Handle, const PChar Query)
Integer ExecRealQuery (PZMySQLConnect Handle, const PChar Query, Integer Length)
Integer ExecuteStmt (PZMySqlPrepStmt Handle)
Integer FetchBoundResults (PZMySqlPrepStmt Handle)
PZMySQLField FetchField (PZMySQLResult Res)
PLongInt FetchLengths (PZMySQLResult Res)
PZMySQLRow FetchRow (PZMySQLResult Res)
 FreeResult (PZMySQLResult Res)
Int64 GetAffectedRows (PZMySQLConnect Handle)
PChar GetClientInfo ()
Integer GetClientVersion ()
string GetDescription ()
Cardinal GetEscapeString (PChar StrTo, PChar StrFrom, Cardinal Length)
Integer GetFieldCount (PZMySQLResult Res)
PChar GetFieldData (PZMySQLRow Row, Cardinal Offset)
Integer GetFieldDecimals (PZMySQLField Field)
Integer GetFieldFlags (PZMySQLField Field)
Integer GetFieldLength (PZMySQLField Field)
Integer GetFieldMaxLength (PZMySQLField Field)
PChar GetFieldName (PZMySQLField Field)
PChar GetFieldTable (PZMySQLField Field)
Byte GetFieldType (PZMySQLField Field)
PChar GetHostInfo (PZMySQLConnect Handle)
PChar GetLastError (PZMySQLConnect Handle)
Integer GetLastErrorCode (PZMySQLConnect Handle)
Int64 GetLastInsertID (PZMySQLConnect Handle)
AnsiString GetLastPreparedError (PZMySqlPrepStmt Handle)
Integer GetLastPreparedErrorCode (PZMySqlPrepStmt Handle)
PZMySQLResult GetListDatabases (PZMySQLConnect Handle, PChar Wild)
PZMySQLResult GetListFields (PZMySQLConnect Handle, const PChar Table, const PChar Wild)
PZMySQLResult GetListProcesses (PZMySQLConnect Handle)
PZMySQLResult GetListTables (PZMySQLConnect Handle, const PChar Wild)
Int64 GetNumRows (PZMySQLResult Res)
Int64 GetPreparedAffectedRows (PZMySqlPrepStmt Handle)
Cardinal GetPreparedBindMarkers (PZMySqlPrepStmt Handle)
Integer GetPreparedFieldCount (PZMySqlPrepStmt Handle)
Int64 GetPreparedInsertID (PZMySqlPrepStmt Handle)
PZMySQLResult GetPreparedMetaData (PZMySqlPrepStmt Handle)
Int64 GetPreparedNumRows (PZMySqlPrepStmt Handle)
PChar GetPreparedSQLState (PZMySqlPrepStmt Handle)
string GetProtocol ()
Cardinal GetProtoInfo (PZMySQLConnect Handle)
Cardinal GetRealEscapeString (PZMySQLConnect Handle, PChar StrTo, PChar StrFrom, Cardinal Length)
Int64 GetRowCount (PZMySQLResult Res)
PChar GetServerInfo (PZMySQLConnect Handle)
Integer GetServerVersion (PZMySQLConnect Handle)
AnsiString GetSQLState (PZMySQLConnect Handle)
PChar GetStatInfo (PZMySQLConnect Handle)
Cardinal GetThreadId (PZMySQLConnect Handle)
PZMySQLConnect Init (PZMySQLConnect &Handle)
 Initialize ()
PZMySqlPrepStmt InitializePrepStmt (PZMySQLConnect Handle)
Integer Kill (PZMySQLConnect Handle, LongInt Pid)
Integer Ping (PZMySQLConnect Handle)
Integer PrepareStmt (PZMySqlPrepStmt PrepStmtHandle, const PChar Query, Integer Length)
PZMySQLConnect RealConnect (PZMySQLConnect Handle, const PChar Host, const PChar User, const PChar Password, const PChar Db, Cardinal Port, PChar UnixSocket, Cardinal ClientFlag)
Integer Refresh (PZMySQLConnect Handle, Cardinal Options)
Boolean ResultSetExists (PZMySQLConnect Handle)
Integer RetrieveNextRowset (PZMySQLConnect Handle)
Boolean Rollback (PZMySQLConnect Handle)
 SeekData (PZMySQLResult Res, Cardinal Offset)
Cardinal SeekField (PZMySQLResult Res, Cardinal Offset)
 SeekPreparedData (PZMySqlPrepStmt PrepStmtHandle, Cardinal Offset)
PZMySQLRowOffset SeekPreparedRow (PZMySqlPrepStmt Handle, PZMySQLRowOffset Row)
PZMySQLRowOffset SeekRow (PZMySQLResult Res, PZMySQLRowOffset Row)
Integer SelectDatabase (PZMySQLConnect Handle, const PChar Database)
Boolean SetAutocommit (PZMySQLConnect Handle, Boolean mode)
Integer SetOptions (PZMySQLConnect Handle, TZMySQLOption Option, const PChar Arg)
Integer Shutdown (PZMySQLConnect Handle, TMysqlShutdownLevel shutdown_level=ZPlainMySqlConstants, SHUTDOWN_DEFAULT)
Integer SslSet (PZMySQLConnect Handle, const PChar Key, const PChar Cert, const PChar Ca, const PChar Capath, const PChar Cipher)
Integer StorePreparedResult (PZMySqlPrepStmt Handle)
PZMySQLResult StoreResult (PZMySQLConnect Handle)
PZMySQLResult UseResult (PZMySQLConnect Handle)


Detailed Description

Represents a generic interface to MySQL native API.

Definition at line 155 of file ZPlainMySqlDriver.pas.


Member Function Documentation

Byte IZMySQLPlainDriver::BindParameters ( PZMySqlPrepStmt  Handle,
PZMysqlBindArray  bindArray 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Byte IZMySQLPlainDriver::BindResult ( PZMySqlPrepStmt  Handle,
PZMysqlBindArray  bindArray 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

IZMySQLPlainDriver::BuildArguments ( TStrings  Options  ) 

Boolean IZMySQLPlainDriver::CheckAnotherRowset ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

IZMySQLPlainDriver::Close ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySqlPrepStmt IZMySQLPlainDriver::ClosePrepStmt ( PZMySqlPrepStmt  PrepStmtHandle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Boolean IZMySQLPlainDriver::Commit ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLConnect IZMySQLPlainDriver::Connect ( PZMySQLConnect  Handle,
const PChar  Host,
const PChar  User,
const PChar  Password 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::CreateDatabase ( PZMySQLConnect  Handle,
const PChar  Database 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

IZMySQLPlainDriver::Debug ( PChar  Debug  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

IZMySQLPlainDriver::Despose ( PZMySQLConnect Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::DropDatabase ( PZMySQLConnect  Handle,
const PChar  Database 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::DumpDebugInfo ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::ExecQuery ( PZMySQLConnect  Handle,
const PChar  Query 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::ExecRealQuery ( PZMySQLConnect  Handle,
const PChar  Query,
Integer  Length 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::ExecuteStmt ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::FetchBoundResults ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLField IZMySQLPlainDriver::FetchField ( PZMySQLResult  Res  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PLongInt IZMySQLPlainDriver::FetchLengths ( PZMySQLResult  Res  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLRow IZMySQLPlainDriver::FetchRow ( PZMySQLResult  Res  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

IZMySQLPlainDriver::FreeResult ( PZMySQLResult  Res  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Int64 IZMySQLPlainDriver::GetAffectedRows ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetClientInfo (  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetClientVersion (  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

string IZPlainDriver::GetDescription (  )  [inherited]

Cardinal IZMySQLPlainDriver::GetEscapeString ( PChar  StrTo,
PChar  StrFrom,
Cardinal  Length 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetFieldCount ( PZMySQLResult  Res  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetFieldData ( PZMySQLRow  Row,
Cardinal  Offset 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetFieldDecimals ( PZMySQLField  Field  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetFieldFlags ( PZMySQLField  Field  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetFieldLength ( PZMySQLField  Field  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetFieldMaxLength ( PZMySQLField  Field  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetFieldName ( PZMySQLField  Field  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetFieldTable ( PZMySQLField  Field  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Byte IZMySQLPlainDriver::GetFieldType ( PZMySQLField  Field  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetHostInfo ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetLastError ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetLastErrorCode ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Int64 IZMySQLPlainDriver::GetLastInsertID ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

AnsiString IZMySQLPlainDriver::GetLastPreparedError ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetLastPreparedErrorCode ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLResult IZMySQLPlainDriver::GetListDatabases ( PZMySQLConnect  Handle,
PChar  Wild 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLResult IZMySQLPlainDriver::GetListFields ( PZMySQLConnect  Handle,
const PChar  Table,
const PChar  Wild 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLResult IZMySQLPlainDriver::GetListProcesses ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLResult IZMySQLPlainDriver::GetListTables ( PZMySQLConnect  Handle,
const PChar  Wild 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Int64 IZMySQLPlainDriver::GetNumRows ( PZMySQLResult  Res  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Int64 IZMySQLPlainDriver::GetPreparedAffectedRows ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Cardinal IZMySQLPlainDriver::GetPreparedBindMarkers ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetPreparedFieldCount ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Int64 IZMySQLPlainDriver::GetPreparedInsertID ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLResult IZMySQLPlainDriver::GetPreparedMetaData ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Int64 IZMySQLPlainDriver::GetPreparedNumRows ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetPreparedSQLState ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

string IZPlainDriver::GetProtocol (  )  [inherited]

Cardinal IZMySQLPlainDriver::GetProtoInfo ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Cardinal IZMySQLPlainDriver::GetRealEscapeString ( PZMySQLConnect  Handle,
PChar  StrTo,
PChar  StrFrom,
Cardinal  Length 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Int64 IZMySQLPlainDriver::GetRowCount ( PZMySQLResult  Res  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetServerInfo ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::GetServerVersion ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

AnsiString IZMySQLPlainDriver::GetSQLState ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PChar IZMySQLPlainDriver::GetStatInfo ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Cardinal IZMySQLPlainDriver::GetThreadId ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLConnect IZMySQLPlainDriver::Init ( PZMySQLConnect Handle  ) 

IZPlainDriver::Initialize (  )  [inherited]

PZMySqlPrepStmt IZMySQLPlainDriver::InitializePrepStmt ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::Kill ( PZMySQLConnect  Handle,
LongInt  Pid 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::Ping ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::PrepareStmt ( PZMySqlPrepStmt  PrepStmtHandle,
const PChar  Query,
Integer  Length 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLConnect IZMySQLPlainDriver::RealConnect ( PZMySQLConnect  Handle,
const PChar  Host,
const PChar  User,
const PChar  Password,
const PChar  Db,
Cardinal  Port,
PChar  UnixSocket,
Cardinal  ClientFlag 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::Refresh ( PZMySQLConnect  Handle,
Cardinal  Options 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Boolean IZMySQLPlainDriver::ResultSetExists ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::RetrieveNextRowset ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Boolean IZMySQLPlainDriver::Rollback ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

IZMySQLPlainDriver::SeekData ( PZMySQLResult  Res,
Cardinal  Offset 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Cardinal IZMySQLPlainDriver::SeekField ( PZMySQLResult  Res,
Cardinal  Offset 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

IZMySQLPlainDriver::SeekPreparedData ( PZMySqlPrepStmt  PrepStmtHandle,
Cardinal  Offset 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLRowOffset IZMySQLPlainDriver::SeekPreparedRow ( PZMySqlPrepStmt  Handle,
PZMySQLRowOffset  Row 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLRowOffset IZMySQLPlainDriver::SeekRow ( PZMySQLResult  Res,
PZMySQLRowOffset  Row 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::SelectDatabase ( PZMySQLConnect  Handle,
const PChar  Database 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Boolean IZMySQLPlainDriver::SetAutocommit ( PZMySQLConnect  Handle,
Boolean  mode 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::SetOptions ( PZMySQLConnect  Handle,
TZMySQLOption  Option,
const PChar  Arg 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::Shutdown ( PZMySQLConnect  Handle,
TMysqlShutdownLevel  shutdown_level = ZPlainMySqlConstants,
SHUTDOWN_DEFAULT   
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::SslSet ( PZMySQLConnect  Handle,
const PChar  Key,
const PChar  Cert,
const PChar  Ca,
const PChar  Capath,
const PChar  Cipher 
)

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

Integer IZMySQLPlainDriver::StorePreparedResult ( PZMySqlPrepStmt  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLResult IZMySQLPlainDriver::StoreResult ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.

PZMySQLResult IZMySQLPlainDriver::UseResult ( PZMySQLConnect  Handle  ) 

Reimplemented in TZMySQL41PlainDriver, and TZMySQL5PlainDriver.


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 08:42:45 2009 for zeoslib by  doxygen 1.5.7.1