equal
deleted
inserted
replaced
52 * @param string If this contains newlines, it will be treated as the target SQL. If not, will be treated as a filename. |
52 * @param string If this contains newlines, it will be treated as the target SQL. If not, will be treated as a filename. |
53 */ |
53 */ |
54 |
54 |
55 public function __construct($sql) |
55 public function __construct($sql) |
56 { |
56 { |
57 if ( strpos("\n", $sql) ) |
57 if ( strpos($sql, "\n") ) |
58 { |
58 { |
59 $this->sql_string = $sql; |
59 $this->sql_string = $sql; |
60 } |
60 } |
61 else |
61 else |
62 { |
62 { |