@@ 148-160 (lines=13) @@ | ||
145 | } |
|
146 | } else { |
|
147 | if ($prefixed_query[1] === 'INSERT INTO') { |
|
148 | if ($this->db->$queryFunc($prefixed_query[0]) != false) { |
|
149 | if (!isset($this->s_tables['insert'][$table])) { |
|
150 | $this->s_tables['insert'][$table] = 1; |
|
151 | } else { |
|
152 | $this->s_tables['insert'][$table]++; |
|
153 | } |
|
154 | } else { |
|
155 | if (!isset($this->f_tables['insert'][$table])) { |
|
156 | $this->f_tables['insert'][$table] = 1; |
|
157 | } else { |
|
158 | $this->f_tables['insert'][$table]++; |
|
159 | } |
|
160 | } |
|
161 | } else { |
|
162 | if ($prefixed_query[1] === 'ALTER TABLE') { |
|
163 | if ($this->db->$queryFunc($prefixed_query[0]) != false) { |
@@ 90-102 (lines=13) @@ | ||
87 | } |
|
88 | } |
|
89 | } else if ($prefixed_query[1] == 'INSERT INTO') { |
|
90 | if ($this->db->query($prefixed_query[0]) != false) { |
|
91 | if (!isset($this->s_tables['insert'][$table])) { |
|
92 | $this->s_tables['insert'][$table] = 1; |
|
93 | } else { |
|
94 | $this->s_tables['insert'][$table]++; |
|
95 | } |
|
96 | } else { |
|
97 | if (!isset($this->f_tables['insert'][$table])) { |
|
98 | $this->f_tables['insert'][$table] = 1; |
|
99 | } else { |
|
100 | $this->f_tables['insert'][$table]++; |
|
101 | } |
|
102 | } |
|
103 | } else if ($prefixed_query[1] == 'ALTER TABLE') { |
|
104 | if ($this->db->query($prefixed_query[0]) != false) { |
|
105 | if (!isset($this->s_tables['alter'][$table])) { |