~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/show_schema_proto/tests/t/basic.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#SELECT SHOW_SCHEMA_PROTO('test');
2
 
--error 1049
 
1
#
 
2
#  None of these functions can be tested. As soon as you add any
 
3
#  non-deterministic data to the proto you immediatly lose the ability to
 
4
#  print them in a test.
 
5
#
 
6
#  What should you do? Use DD to look at the field since it purely uses the
 
7
#  Google protobuffer message.
 
8
#
 
9
#
 
10
#
 
11
#
 
12
##SELECT SHOW_SCHEMA_PROTO('test');
 
13
--error ER_BAD_DB_ERROR
3
14
SELECT SHOW_SCHEMA_PROTO('not_exists');
4
 
CREATE DATABASE foobar COLLATE = utf8_bin;
5
 
SELECT SHOW_SCHEMA_PROTO('foobar');
6
 
DROP DATABASE foobar;
7
 
CREATE DATABASE foobar;
8
 
SELECT SHOW_SCHEMA_PROTO('foobar');
9
 
ALTER DATABASE foobar COLLATE = utf8_bin;
10
 
SELECT SHOW_SCHEMA_PROTO('foobar');
11
 
DROP DATABASE foobar;
 
15
#CREATE DATABASE foobar COLLATE = utf8_bin;
 
16
#SELECT SHOW_SCHEMA_PROTO('foobar');
 
17
#
 
18
#DROP DATABASE foobar;
 
19
#CREATE DATABASE foobar;
 
20
#SELECT SHOW_SCHEMA_PROTO('foobar');
 
21
#
 
22
#ALTER DATABASE foobar COLLATE = utf8_bin;
 
23
#
 
24
#SELECT SHOW_SCHEMA_PROTO('foobar');
 
25
#
 
26
#DROP DATABASE foobar;