Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 68 Revision 1257
Zeile 182... Zeile 182...
182
	{
182
	{
183
		if ($this->_create_database === FALSE)
183
		if ($this->_create_database === FALSE)
184
		{
184
		{
185
			return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
185
			return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
186
		}
186
		}
187
		elseif ( ! $this->db->query(sprintf($this->_create_database, $db_name, $this->db->char_set, $this->db->dbcollat)))
187
		elseif ( ! $this->db->query(sprintf($this->_create_database, $this->db->escape_identifiers($db_name), $this->db->char_set, $this->db->dbcollat)))
188
		{
188
		{
189
			return ($this->db->db_debug) ? $this->db->display_error('db_unable_to_drop') : FALSE;
189
			return ($this->db->db_debug) ? $this->db->display_error('db_unable_to_drop') : FALSE;
190
		}
190
		}
Zeile 191... Zeile 191...
191
 
191
 
Zeile 209... Zeile 209...
209
	{
209
	{
210
		if ($this->_drop_database === FALSE)
210
		if ($this->_drop_database === FALSE)
211
		{
211
		{
212
			return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
212
			return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
213
		}
213
		}
214
		elseif ( ! $this->db->query(sprintf($this->_drop_database, $db_name)))
214
		elseif ( ! $this->db->query(sprintf($this->_drop_database, $this->db->escape_identifiers($db_name))))
215
		{
215
		{
216
			return ($this->db->db_debug) ? $this->db->display_error('db_unable_to_drop') : FALSE;
216
			return ($this->db->db_debug) ? $this->db->display_error('db_unable_to_drop') : FALSE;
217
		}
217
		}
Zeile 218... Zeile 218...
218
 
218