~ubuntu-branches/ubuntu/lucid/php5/lucid

« back to all changes in this revision

Viewing changes to ext/mysqli/tests/mysqli_get_connection_stats.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-03-16 09:09:50 UTC
  • mfrom: (1.1.18 upstream) (0.3.10 sid)
  • Revision ID: james.westby@ubuntu.com-20100316090950-e36m0pzranoixifd
Tags: 5.3.2-1ubuntu1
* Merge from debian unstable: 
  - debian/control:
    * Dropped firebird2.1-dev, libc-client-dev, libmcrypt-dev as it is in universe.
    * Dropped libmysqlclient15-dev, build against mysql 5.1.
    * Dropped libcurl-dev not in the archive.
    * Suggest php5-suhosin rather than recommends.
    * Dropped php5-imap, php5-interbase, php5-mcrypt since we have versions already in
      universe.
    * Dropped libonig-dev and libqgdbm since its in universe. (will be re-added in lucid+1)
    * Dropped locales-all.
  - modulelist: Drop imap, interbase, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
  - Dropped debian/patches/libedit_is_editline.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        if (!is_null($tmp = @mysqli_get_connection_stats($link)))
22
22
                printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23
23
 
24
 
        include "connect.inc";
25
 
        include "table.inc";
 
24
        require("table.inc");
26
25
 
27
26
        if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
28
27
                printf("[003] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);
63
62
        }
64
63
 
65
64
        mysqli_close($link);
66
 
        include "table.inc";
 
65
        require("table.inc");
67
66
 
68
67
        if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
69
68
                printf("[008] Expecting array/any_non_empty, got %s/%s\n", gettype($info), $info);