~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/funcs_1/include/show_connection.inc

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#### suite/funcs_1/include/show_connection.inc
 
2
#
 
3
# This file shows the current connection information into the result file
 
4
# By using the '... AS "" ' an empty line will separate this in the result.
 
5
#
 
6
# Usage:
 
7
#    Add the following to any *.test file:
 
8
#      :
 
9
#    --source suite/funcs_1/include/show_connection.inc
 
10
#      :
 
11
 
 
12
--disable_query_log
 
13
SELECT USER() AS "", DATABASE() AS "";
 
14
--enable_query_log