1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once('class.ilDBPdoMySQLInnoDB.php');
5
6/**
7 * Class ilDBPdoMySQLInnoDB
8 *
9 * @author Fabian Schmid <fs@studer-raimann.ch>
10 */
11class ilDBPdoMySQLGalera extends ilDBPdoMySQLInnoDB implements ilDBInterface
12{
13
14    /**
15     * @return bool
16     */
17    public function supportsTransactions()
18    {
19        return true;
20    }
21
22
23    /**
24     * @return \ilAtomQuery
25     */
26    public function buildAtomQuery()
27    {
28        require_once('./Services/Database/classes/Atom/class.ilAtomQueryTransaction.php');
29
30        return new ilAtomQueryTransaction($this);
31    }
32}
33