Guest User

Untitled

a guest
Oct 27th, 2010
130
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool QSQLiteDriver::hasFeature(DriverFeature f) const
  2. {
  3.     switch (f) {
  4.     case BLOB:
  5.     case Transactions:
  6.     case Unicode:
  7.     case LastInsertId:
  8.     case PreparedQueries:
  9.     case PositionalPlaceholders:
  10.     case SimpleLocking:
  11.     case FinishQuery:
  12.     case LowPrecisionNumbers:
  13.         return true;
  14.     case QuerySize:
  15.     case NamedPlaceholders:
  16.     case BatchOperations:
  17.     case EventNotifications:
  18.     case MultipleResultSets:
  19.         return false;
  20.     }
  21.     return false;
  22. }
RAW Paste Data