Subversion-Projekte lars-tiefland.ci

Revision

Revision 2049 | Revision 2242 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2049 Revision 2107
Zeile 314... Zeile 314...
314
 
314
 
315
			// We have to strip the ORDER BY clause
315
			// We have to strip the ORDER BY clause
Zeile 316... Zeile 316...
316
			$sql = trim(substr($sql, 0, strrpos($sql, $orderby)));
316
			$sql = trim(substr($sql, 0, strrpos($sql, $orderby)));
317
 
317
 
318
			// Get the fields to select from our subquery, so that we can avoid CI_rownum appearing in the actual results
318
			// Get the fields to select from our subquery, so that we can avoid CI_rownum appearing in the actual results
319
			if (count($this->qb_select) === 0)
319
			if (count($this->qb_select) === 0 OR strpos(implode(',', $this->qb_select), '*') !== FALSE)
320
			{
320
			{
321
				$select = '*'; // Inevitable
321
				$select = '*'; // Inevitable
322
			}
322
			}
Zeile 361... Zeile 361...
361
		if (version_compare($this->version(), '10', '>='))
361
		if (version_compare($this->version(), '10', '>='))
362
		{
362
		{
363
			return parent::_insert_batch($table, $keys, $values);
363
			return parent::_insert_batch($table, $keys, $values);
364
		}
364
		}
Zeile 365... Zeile 365...
365
 
365
 
366
		return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
366
		return ($this->db_debug) ? $this->display_error('db_unsupported_feature') : FALSE;
Zeile 367... Zeile 367...
367
	}
367
	}