Overview
Comment:Appel possible à base64 pour trier binaire
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7da1ae62e2b972695022e282fcd563c46ad57d00
User & Date: bohwaz on 2012-09-25 04:13:20
Other Links: manifest | tags
Context
2012-09-25
04:15
Opérations libellées en $monnaie check-in: 1fe820e057 user: bohwaz tags: trunk
04:13
Appel possible à base64 pour trier binaire check-in: 7da1ae62e2 user: bohwaz tags: trunk
02:14
Saisie de dette check-in: 72cbac682a user: bohwaz tags: trunk
Changes

Modified include/class.db.php from [a6d814eeab] to [d9ef2949fc].

55
56
57
58
59
60
61

62
63
64
65
66
67
68
        {
            $this->exec('BEGIN;');
            $this->exec(file_get_contents(GARRADIN_DB_SCHEMA));
            $this->exec('END;');
        }

        $this->createFunction('transliterate_to_ascii', array('utils', 'transliterateToAscii'));

        $this->createFunction('rank', array($this, 'sql_rank'));
    }

    public function sql_rank($aMatchInfo)
    {
        $iSize = 4; // byte size
        $iPhrase = (int) 0;                 // Current phrase //







>







55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
        {
            $this->exec('BEGIN;');
            $this->exec(file_get_contents(GARRADIN_DB_SCHEMA));
            $this->exec('END;');
        }

        $this->createFunction('transliterate_to_ascii', array('utils', 'transliterateToAscii'));
        $this->createFunction('base64', 'base64_encode');
        $this->createFunction('rank', array($this, 'sql_rank'));
    }

    public function sql_rank($aMatchInfo)
    {
        $iSize = 4; // byte size
        $iPhrase = (int) 0;                 // Current phrase //