Module: Drizzle

Defined in:
lib/drizzle.rb,
lib/drizzle/result.rb,
lib/drizzle/drizzle.rb,
lib/drizzle/connection.rb,
lib/drizzle/exceptions.rb

Defined Under Namespace

Classes: AuthFailed, BadHandshake, BadPacket, BadPacketNumber, Connection, ConnectionPtr, CouldNotConnect, Drizzle, DrizzlePtr, GeneralError, HandshakeFailed, InternalError, IoWait, LostConnection, Memory, NoActiveConnections, NoScramble, NotReady, NullSize, Pause, ProtocolNotSupported, Result, RowBreak, RowEnd, Timeout, TooManyColumns, UnexpectedData

Constant Summary collapse

Keywords =

map of keywords that will be used with the SQL injection prevention plugin in drizzle

{
  "add" => true,
  "all" => true,
  "alter" => true,
  "analyze" => true,
  "and" => true,
  "any" => true,
  "as" => true,
  "asc" => true,
  "before" => true,
  "between" => true,
  "by" => true,
  "count" => true,
  "distinct" => true,
  "drop" => true,
  "from" => true,
  "having" => true,
  "or" => true,
  "select" => true,
  "union" => true,
  "where" => true
}
NONE =

connection options

0
ALLOCATED =
1
MYSQL =
2
RAW_PACKET =
4
RAW_SCRAMBLE =
8
READY =
16
NO_RESULT_READ =
32
INJECTION_PREVENTION =
64