ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilDBInnoDB.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once (
"./Services/Database/classes/class.ilDBMySQL.php"
);
6
18
class
ilDBInnoDB
extends
ilDBMySQL
19
{
20
24
function
getDBType
()
25
{
26
return
"innodb"
;
27
}
28
32
function
initConnection
()
33
{
34
// SET 'max_allowed_packet' (only possible for mysql version 4)
35
$this->
setMaxAllowedPacket
();
36
37
// NOTE: Two sourcecodes use this or a similar handling:
38
// - classes/class.ilDB.php
39
// - setup/classes/class.ilClient.php
40
41
$this->
query
(
"SET NAMES utf8"
);
42
if
(DEVMODE == 1)
43
{
44
$this->
query
(
"SET SESSION SQL_MODE = 'ONLY_FULL_GROUP_BY'"
);
45
}
46
$this->
setStorageEngine
(
'INNODB'
);
47
}
48
52
function
supportsFulltext
()
53
{
54
return
false
;
55
}
56
57
protected
function
getCreateTableOptions
()
58
{
59
// InnoDB is default engine for MySQL >= 5.5
60
return
array(
'type'
=>
'InnoDB'
);
61
}
62
63
}
64
?>
Services
Database
classes
class.ilDBInnoDB.php
Generated on Wed Apr 27 2016 21:01:38 for ILIAS by
1.8.1.2 (using
Doxyfile
)