Merge lp:~hingo/drizzle/drizzle-7.1.x-versioning-plus-all-fixes into lp:~drizzle-trunk/drizzle/development

Proposed by Henrik Ingo
Status: Merged
Approved by: Mark Atwood
Approved revision: 2506
Merged at revision: 2504
Proposed branch: lp:~hingo/drizzle/drizzle-7.1.x-versioning-plus-all-fixes
Merge into: lp:~drizzle-trunk/drizzle/development
Diff against target: 743 lines (+65/-434)
18 files modified
.bzrignore (+2/-0)
.bzrignore.THIS (+0/-389)
Makefile.am (+1/-15)
client/drizzle.cc (+2/-2)
client/drizzledump.cc (+2/-2)
client/server_detect.cc (+13/-3)
configure.ac (+2/-2)
docs/installing/redhat.rst (+3/-1)
drizzled/main.cc (+2/-2)
drizzled/sys_var.cc (+4/-4)
m4/pandora_vc_build.m4 (+23/-3)
plugin/auth_ldap/docs/index.rst (+3/-3)
plugin/innobase/xtrabackup/xtrabackup.cc (+1/-1)
support-files/drizzle.pc.in (+1/-1)
support-files/include.am (+1/-1)
tests/r/comments.result (+2/-2)
tests/valgrind.supp (+2/-2)
win32/config.h (+1/-1)
To merge this branch: bzr merge lp:~hingo/drizzle/drizzle-7.1.x-versioning-plus-all-fixes
Reviewer Review Type Date Requested Status
Drizzle Merge Team Pending
Review via email: mp+92161@code.launchpad.net

Description of the change

Combines
https://code.launchpad.net/~hingo/drizzle/drizzle-drizzledump-and-other-version-fixes/+merge/91598
and
https://code.launchpad.net/~hingo/drizzle/drizzle-the-version-is-7.1-not-a-date-and-certainly-not-7/+merge/90809

To recap:

To pass all tests, you must do bzr tag 7.1.31-rc first
If you don't, then main.comments will fail, this is correct behavior. Everything else should pass either way.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.bzrignore'
--- .bzrignore 2012-02-05 04:23:43 +0000
+++ .bzrignore 2012-02-08 23:35:14 +0000
@@ -224,6 +224,7 @@
224plugin/transaction_log/utilities/drizzletrx224plugin/transaction_log/utilities/drizzletrx
225po/POTFILES225po/POTFILES
226po/drizzle7.pot226po/drizzle7.pot
227po/drizzle.pot
227po/remove-potcdate.sed228po/remove-potcdate.sed
228po/stamp-it229po/stamp-it
229po/stamp-po230po/stamp-po
@@ -303,6 +304,7 @@
303support-files/Makefile.in304support-files/Makefile.in
304support-files/drizzle-log-rotate305support-files/drizzle-log-rotate
305support-files/drizzle7.pc306support-files/drizzle7.pc
307support-files/drizzle.pc
306support-files/drizzle.server308support-files/drizzle.server
307support-files/drizzle.spec309support-files/drizzle.spec
308support-files/libdrizzle.pc310support-files/libdrizzle.pc
309311
=== removed file '.bzrignore.THIS'
--- .bzrignore.THIS 2011-12-30 22:59:59 +0000
+++ .bzrignore.THIS 1970-01-01 00:00:00 +0000
@@ -1,389 +0,0 @@
1*.bb
2*.bbg
3*.da
4*.dirstamp
5*.gcda
6*.gcno
7*.gmo
8*.gz
9*.la
10*.linted
11*.lo
12*.orig
13*.rej
14*.reject
15*.rpm
16*replication.pb.*
17*stamp-h
18./ChangeLog
19.DS_Store
20.deps
21.libs
22.plugin.ini.stamp
23.plugin.scan
24ChangeLog
25DEPENDENCIES
26INSTALL
27Makefile
28Makefile.in
29TAGS
30aclocal.m4
31authentication.gcno
32autom4te.cache/
33cached_item.gcno
34calendar.gcno
35check_stack_overrun.gcno
36client/Makefile.in
37client/drizzle
38client/drizzleadmin
39client/drizzlebinlog
40client/drizzlecheck
41client/drizzledump
42client/drizzleimport
43client/drizzleslap
44client/drizzletest
45client/mysqlslap
46comp_creator.gcno
47compile
48config.guess
49config.h
50config.h.gch
51config.h.in
52config.log
53config.status
54config.sub
55config/bzr_revinfo
56config/pandora-plugin.list
57config/pandora_vc_revinfo
58config/plugin-list.ac
59config/plugin-list.am
60config/plugin.ac
61config/plugin.am
62config/plugin.list
63config/plugin.stamp
64config/top.h
65configure
66configvar.gcno
67current_session.gcno
68dbug/Makefile.in
69depcomp
70docs
71docs/doctrees
72docs/html
73docs/plugins/*
74docs/plugins/list.rst
75doxerr.log
76drizzle-2010.01.1315.tar.gz
77drizzle.pot
78drizzled.gcno
79drizzled/configmake.h
80drizzled/drizzled
81drizzled/drizzled_safe
82drizzled/function_hash.h
83drizzled/gen_lex_hash
84drizzled/generated_probes.h
85drizzled/lex_hash.h
86drizzled/message/alter_table.pb.cc
87drizzled/message/alter_table.pb.h
88drizzled/message/binary_log.pb.cc
89drizzled/message/binary_log.pb.h
90drizzled/message/binlog_reader
91drizzled/message/binlog_writer
92drizzled/message/command_reader
93drizzled/message/engine.pb.cc
94drizzled/message/engine.pb.h
95drizzled/message/event.pb.cc
96drizzled/message/event.pb.h
97drizzled/message/length
98drizzled/message/replication.pb.cc
99drizzled/message/replication.pb.h
100drizzled/message/replication_event.pb.cc
101drizzled/message/replication_event.pb.h
102drizzled/message/replication_event_reader
103drizzled/message/replication_event_writer
104drizzled/message/resultset.pb.cc
105drizzled/message/resultset.pb.h
106drizzled/message/schema.pb.cc
107drizzled/message/schema.pb.h
108drizzled/message/schema_reader
109drizzled/message/schema_writer
110drizzled/message/table.pb.cc
111drizzled/message/table.pb.h
112drizzled/message/table_raw_reader
113drizzled/message/table_reader
114drizzled/message/table_writer
115drizzled/message/transaction.pb.cc
116drizzled/message/transaction.pb.h
117drizzled/message/transaction_writer
118drizzled/module/load_list.h
119drizzled/plugin/version.h
120drizzled/schema.pb.cc
121drizzled/schema.pb.h
122drizzled/sql_builtin.cc
123drizzled/sql_yacc.cc
124drizzled/sql_yacc.hh
125drizzled/sql_yacc.output
126drizzled/sql_reserved_words.h
127drizzled/symbol_hash.h
128drizzled/version.h
129dtcollation.gcno
130errmsg.gcno
131errmsg_print.gcno
132error.gcno
133examples/client
134examples/pipe_query
135examples/proxy
136examples/server
137examples/simple
138examples/simple_multi
139examples/sqlite_server
140extra/Makefile.in
141extra/comp_err
142extra/innochecksum
143extra/my_print_defaults
144extra/mysql_waitpid
145field.gcno
146field_conv.gcno
147field_iterator.gcno
148filesort.gcno
149gnulib/getopt.h
150gnulib/time.h
151gnulib/unistd.h
152ha_trx_info.gcno
153handler.gcno
154handlerton.gcno
155hybrid_type_traits.gcno
156hybrid_type_traits_decimal.gcno
157hybrid_type_traits_integer.gcno
158include/Makefile.in
159include/config.h
160include/drizzle_version.h
161include/mysqld_ername.h
162include/mysqld_error.h
163include/sql_state.h
164include/stamp-h1
165install-sh
166item.gcno
167key.gcno
168key_map.gcno
169libdrizzle-2.0/libdrizzle/mysql_password_hash
170libdrizzle-2.0/libdrizzle/drizzle_password_hash
171libmysql/Makefile.in
172libserialutil_la-db.gcno
173libserialutil_la-unireg.gcno
174libtool
175lint-rules.am
176lock.gcno
177log.gcno
178logging.gcno
179ltmain.sh
180m4/bzr_version.m4
181m4/libtool.m4
182m4/ltoptions.m4
183m4/ltsugar.m4
184m4/ltversion.m4
185m4/lt~obsolete.m4
186mf_iocache.gcno
187missing
188my_decimal.gcno
189mysql-test/Makefile.in
190mysys/Makefile.in
191mysys/tests/Makefile.in
192name_resolution_context_state.gcno
193natural_join_column.gcno
194opt_range.gcno
195opt_sum.gcno
196out
197pandora-plugin.ac
198pandora-plugin.am
199parser.gcno
200patch
201plugin/Makefile.in
202plugin/archive/Makefile.in
203plugin/archive/archive_performance
204plugin/archive/archive_reader
205plugin/archive/archive_test
206plugin/archive/concurrency_test
207plugin/blackhole/Makefile.in
208plugin/csv/Makefile.in
209plugin/heap/Makefile.in
210plugin/innobase/Makefile.in
211plugin/innobase/include/pars0grm.hh
212plugin/innobase/include/pars0grm.h
213plugin/innobase/pars/pars0grm.c
214plugin/innobase/pars/pars0grm.cc
215plugin/innobase/pars/pars0grm.h
216plugin/innobase/pars/pars0lex.c
217plugin/memcached_functions/start_mc.sh
218plugin/memcached_functions/tests/start_mc.sh
219plugin/myisam/Makefile.in
220plugin/myisam/myisamchk
221plugin/myisam/myisamlog
222plugin/myisam/myisampack
223plugin/storage_engine_api_tester/cursor_states_to_dot
224plugin/storage_engine_api_tester/engine_states_to_dot
225plugin/transaction_log/utilities/drizzletrx
226po/POTFILES
227po/drizzle7.pot
228po/remove-potcdate.sed
229po/stamp-it
230po/stamp-po
231protocol.gcno
232qcache.gcno
233query_id.gcno
234records.gcno
235regex/Makefile.in
236rename.gcno
237replicator.gcno
238scheduling.gcno
239scripts/Makefile.in
240server/drizzled_safe
241server/gen_lex_hash
242server/lex_hash.h
243server/share/czech/
244server/share/danish/
245server/share/dutch/
246server/share/english/
247server/share/estonian/
248server/share/french/
249server/share/german/
250server/share/greek/
251server/share/hungarian/
252server/share/italian/
253server/share/japanese-sjis/
254server/share/japanese/
255server/share/korean/
256server/share/norwegian-ny/
257server/share/norwegian/
258server/share/polish/
259server/share/portuguese/
260server/share/romanian/
261server/share/russian/
262server/share/serbian/
263server/share/slovak/
264server/share/spanish/
265server/share/swedish/
266server/share/ukrainian/
267server/sql_yacc.cc
268server/sql_yacc.h
269server/sql_yacc.output
270session.gcno
271set_var.gcno
272show.gcno
273sj_tmp_table.gcno
274sql-common/Makefile.in
275sql/Makefile.in
276sql/share/Makefile.in
277sql_base.gcno
278sql_client.gcno
279sql_connect.gcno
280sql_delete.gcno
281sql_derived.gcno
282sql_error.gcno
283sql_handler.gcno
284sql_insert.gcno
285sql_lex.gcno
286sql_list.gcno
287sql_load.gcno
288sql_locale.gcno
289sql_parse.gcno
290sql_plugin.gcno
291sql_select.gcno
292sql_state.gcno
293sql_string.gcno
294sql_table.gcno
295sql_udf.gcno
296sql_union.gcno
297sql_update.gcno
298sql_yacc.gcno
299stacktrace.gcno
300stamp-h1
301strfunc.gcno
302strings/Makefile.in
303strings/tests/Makefile.in
304support-files/Makefile.in
305support-files/drizzle-log-rotate
306support-files/drizzle7.pc
307support-files/drizzle.server
308support-files/drizzle.spec
309support-files/libdrizzle.pc
310support-files/libdrizzle-1.0.pc
311support-files/libdrizzle-2.0.pc
312support-files/libdrizzleclient.pc
313support-files/smf/Makefile.in
314support-files/smf/drizzle
315support-files/smf/drizzle.xml
316support-files/smf/install.sh
317table.gcno
318table_map_iterator.gcno
319temporal.gcno
320temporal_format.gcno
321tests/Makefile.in
322tests/dtr
323tests/dtr@
324tests/dbqp
325tests/dbqp_data/uuid
326tests/dbqp_work
327tests/install_test_db
328tests/mtr
329tests/mtr@
330tests/resolve_stack_dump
331tests/stripped_log
332tests/test-run
333tests/test-run@
334tests/total_warning_count
335tests/var
336tests/workdir
337thr_malloc.gcno
338time.gcno
339tmp_table.gcno
340tztime.gcno
341uniques.gcno
342unittests/atomics_test
343unittests/calendar_test
344unittests/unittests
345unittests/uwagi.txt
346virtual_column_info.gcno
347xid.gcno
348ylwrap
349docs/html
350docs/dirhtml
351docs/singlehtml
352docs/pickle
353docs/json
354docs/htmlhelp
355docs/qthelp
356docs/devhelp
357docs/epub
358docs/latex
359docs/latexpdf
360docs/text
361docs/man
362docs/changes
363docs/linkcheck
364docs/doctest
365.pc
366drizzled/message/catalog.pb.cc
367drizzled/message/catalog.pb.h
368drizzled/message/catalog_reader
369drizzled/message/catalog_writer
370drizzled/message/replication_options.pb.cc
371drizzled/message/replication_options.pb.h
372drizzled/message/access.pb.cc
373drizzled/message/access.pb.h
374drizzled/execute/parser.cc
375drizzled/execute/parser.h
376drizzled/execute/parser.output
377drizzled/execute/scanner.cc
378drizzled/execute/scanner.h
379plugin/innobase/xtrabackup/drizzlebackup.innobase
380libdrizzle-2.0/drizzle_password_hash
381libdrizzle-2.0/mysql_password_hash
382tags
383libdrizzle-1.0/t/c_test
384libdrizzle-1.0/t/client_server
385libdrizzle-1.0/t/drizzle_column_st
386libdrizzle-1.0/t/drizzle_con_st
387libdrizzle-1.0/t/drizzle_query_st
388libdrizzle-1.0/t/drizzle_result_st
389libdrizzle-1.0/t/drizzle_st
3900
=== modified file 'Makefile.am'
--- Makefile.am 2012-02-05 04:23:43 +0000
+++ Makefile.am 2012-02-08 23:35:14 +0000
@@ -197,24 +197,10 @@
197 find ./ | $(GREP) \~$$ | xargs rm -f197 find ./ | $(GREP) \~$$ | xargs rm -f
198 bzr unknowns198 bzr unknowns
199199
200install-exec-hook:
201 cd $(DESTDIR)$(sbindir) && \
202 mv -f drizzled$(EXEEXT) drizzled7$(EXEEXT) && \
203 $(LN_S) drizzled7$(EXEEXT) drizzled$(EXEEXT)
204
205install-data-hook:
206 cd $(DESTDIR)$(man8dir) && \
207 mv -f drizzled.8 drizzled7.8 && \
208 $(LN_S) drizzled7.8 drizzled.8
209
210uninstall-hook:
211 rm $(DESTDIR)$(man8dir)/drizzled7.8
212 rm $(DESTDIR)$(sbindir)/drizzled7$(EXEEXT)
213
214rpm-build: support-files/drizzle.spec200rpm-build: support-files/drizzle.spec
215 @rm -f ~/rpmbuild/RPMS/x86_64/drizzle-$(VERSION)*.rpm201 @rm -f ~/rpmbuild/RPMS/x86_64/drizzle-$(VERSION)*.rpm
216 @rm -f ~/rpmbuild/SRPMS/drizzle-$(VERSION)*.rpm202 @rm -f ~/rpmbuild/SRPMS/drizzle-$(VERSION)*.rpm
217 @cp drizzle7-$(VERSION).tar.gz ~/rpmbuild/SOURCES/203 @cp drizzle-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
218 @cp support-files/drizzled.init ~/rpmbuild/SOURCES/204 @cp support-files/drizzled.init ~/rpmbuild/SOURCES/
219 @rpmbuild -ba support-files/drizzle.spec205 @rpmbuild -ba support-files/drizzle.spec
220 @cp ~/rpmbuild/RPMS/x86_64/drizzle-$(VERSION)*.rpm .206 @cp ~/rpmbuild/RPMS/x86_64/drizzle-$(VERSION)*.rpm .
221207
=== modified file 'client/drizzle.cc'
--- client/drizzle.cc 2012-02-05 04:23:43 +0000
+++ client/drizzle.cc 2012-02-08 23:35:14 +0000
@@ -1374,8 +1374,8 @@
1374# if defined(HAVE_LOCALE_H)1374# if defined(HAVE_LOCALE_H)
1375 setlocale(LC_ALL, "");1375 setlocale(LC_ALL, "");
1376# endif1376# endif
1377 bindtextdomain("drizzle7", LOCALEDIR);1377 bindtextdomain("drizzle", LOCALEDIR);
1378 textdomain("drizzle7");1378 textdomain("drizzle");
1379#endif1379#endif
13801380
1381 po::options_description commandline_options(_("Options used only in command line"));1381 po::options_description commandline_options(_("Options used only in command line"));
13821382
=== modified file 'client/drizzledump.cc'
--- client/drizzledump.cc 2012-02-05 04:23:43 +0000
+++ client/drizzledump.cc 2012-02-08 23:35:14 +0000
@@ -465,8 +465,8 @@
465# if defined(HAVE_LOCALE_H)465# if defined(HAVE_LOCALE_H)
466 setlocale(LC_ALL, "");466 setlocale(LC_ALL, "");
467# endif467# endif
468 bindtextdomain("drizzle7", LOCALEDIR);468 bindtextdomain("drizzle", LOCALEDIR);
469 textdomain("drizzle7");469 textdomain("drizzle");
470#endif470#endif
471471
472 po::options_description commandline_options(_("Options used only in command line"));472 po::options_description commandline_options(_("Options used only in command line"));
473473
=== modified file 'client/server_detect.cc'
--- client/server_detect.cc 2011-08-07 20:48:33 +0000
+++ client/server_detect.cc 2012-02-08 23:35:14 +0000
@@ -30,12 +30,22 @@
30{30{
31 boost::match_flag_type flags = boost::match_default;31 boost::match_flag_type flags = boost::match_default;
3232
33 boost::regex mysql_regex("^([3-9]\\.[0-9]+\\.[0-9]+)");33 // FIXME: Detecting capabilities from a version number is a recipe for
34 boost::regex drizzle_regex("^(20[0-9]{2}\\.(0[1-9]|1[012])\\.[0-9]+)");34 // disaster, like we've seen with 15 years of JavaScript :-)
35 // Anyway, as there is no MySQL 7.x yet, this will do for tonight.
36 // I will get back to detect something tangible after the release (like
37 // presence of some table or its record in DATA_DICTIONARY.
38 boost::regex mysql_regex("^([3-6]\\.[0-9]+\\.[0-9]+)");
39 boost::regex drizzle_regex7("^(20[0-9]{2}\\.(0[1-9]|1[012])\\.[0-9]+)");
40 boost::regex drizzle_regex71("^([7-9]\\.[0-9]+\\.[0-9]+)");
3541
36 version= drizzle_con_server_version(connection);42 version= drizzle_con_server_version(connection);
3743
38 if (regex_search(version, drizzle_regex, flags))44 if (regex_search(version, drizzle_regex7, flags))
45 {
46 type= SERVER_DRIZZLE_FOUND;
47 }
48 else if (regex_search(version, drizzle_regex71, flags))
39 {49 {
40 type= SERVER_DRIZZLE_FOUND;50 type= SERVER_DRIZZLE_FOUND;
41 }51 }
4252
=== modified file 'configure.ac'
--- configure.ac 2012-02-05 04:23:43 +0000
+++ configure.ac 2012-02-08 23:35:14 +0000
@@ -20,7 +20,7 @@
20AC_PREREQ(2.59)dnl Minimum Autoconf version required.20AC_PREREQ(2.59)dnl Minimum Autoconf version required.
21dnl Version from the AC_INIT call below is overridden later21dnl Version from the AC_INIT call below is overridden later
22dnl So don't update it here22dnl So don't update it here
23AC_INIT([drizzle7],[7],[http://bugs.launchpad.net/drizzle],[drizzle7],[http://drizzle.org/])23AC_INIT([drizzle],[7.1],[http://bugs.launchpad.net/drizzle],[drizzle],[http://drizzle.org/])
24AC_CONFIG_SRCDIR([drizzled/drizzled.cc])24AC_CONFIG_SRCDIR([drizzled/drizzled.cc])
25AC_CONFIG_AUX_DIR([config])25AC_CONFIG_AUX_DIR([config])
2626
@@ -170,7 +170,7 @@
170 tests/Makefile dnl170 tests/Makefile dnl
171 drizzled/plugin/version.h dnl171 drizzled/plugin/version.h dnl
172 support-files/drizzle.spec dnl172 support-files/drizzle.spec dnl
173 support-files/drizzle7.pc dnl173 support-files/drizzle.pc dnl
174 support-files/libdrizzle.pc dnl174 support-files/libdrizzle.pc dnl
175 support-files/libdrizzle-1.0.pc dnl175 support-files/libdrizzle-1.0.pc dnl
176 support-files/smf/install.sh dnl176 support-files/smf/install.sh dnl
177177
=== modified file 'docs/installing/redhat.rst'
--- docs/installing/redhat.rst 2012-02-05 04:23:43 +0000
+++ docs/installing/redhat.rst 2012-02-08 23:35:14 +0000
@@ -71,5 +71,7 @@
7171
72.. code-block:: bash72.. code-block:: bash
7373
74 sudo yum install drizzle7-server drizzle7-client74 sudo yum install drizzle-server drizzle-client
75
76Note: On older versions of Fedora and RHEL, the packages are named drizzle7-server and drizzle7-client.
7577
7678
=== modified file 'drizzled/main.cc'
--- drizzled/main.cc 2012-02-05 04:23:43 +0000
+++ drizzled/main.cc 2012-02-08 23:35:14 +0000
@@ -237,8 +237,8 @@
237# if defined(HAVE_LOCALE_H)237# if defined(HAVE_LOCALE_H)
238 setlocale(LC_ALL, "");238 setlocale(LC_ALL, "");
239# endif239# endif
240 bindtextdomain("drizzle7", LOCALEDIR);240 bindtextdomain("drizzle", LOCALEDIR);
241 textdomain("drizzle7");241 textdomain("drizzle");
242#endif242#endif
243243
244 module::Registry &modules= module::Registry::singleton();244 module::Registry &modules= module::Registry::singleton();
245245
=== modified file 'drizzled/sys_var.cc'
--- drizzled/sys_var.cc 2012-02-05 04:23:43 +0000
+++ drizzled/sys_var.cc 2012-02-08 23:35:14 +0000
@@ -94,8 +94,8 @@
9494
95namespace95namespace
96{96{
97 static size_t revno= DRIZZLE7_VC_REVNO;97 static size_t revno= DRIZZLE_VC_REVNO;
98 static size_t release_id= DRIZZLE7_RELEASE_ID;98 static size_t release_id= DRIZZLE_RELEASE_ID;
99}99}
100100
101const char *bool_type_names[]= { "OFF", "ON", NULL };101const char *bool_type_names[]= { "OFF", "ON", NULL };
@@ -245,8 +245,8 @@
245/* Global read-only variable containing hostname */245/* Global read-only variable containing hostname */
246static sys_var_const_string sys_hostname("hostname", getServerHostname());246static sys_var_const_string sys_hostname("hostname", getServerHostname());
247247
248static sys_var_const_str sys_revid("vc_revid", DRIZZLE7_VC_REVID);248static sys_var_const_str sys_revid("vc_revid", DRIZZLE_VC_REVID);
249static sys_var_const_str sys_branch("vc_branch", DRIZZLE7_VC_BRANCH);249static sys_var_const_str sys_branch("vc_branch", DRIZZLE_VC_BRANCH);
250static sys_var_size_t_ptr_readonly sys_revno("vc_revno", &revno);250static sys_var_size_t_ptr_readonly sys_revno("vc_revno", &revno);
251static sys_var_size_t_ptr_readonly sys_release_id("vc_release_id", &release_id);251static sys_var_size_t_ptr_readonly sys_release_id("vc_release_id", &release_id);
252252
253253
=== modified file 'm4/pandora_vc_build.m4'
--- m4/pandora_vc_build.m4 2012-02-05 04:23:43 +0000
+++ m4/pandora_vc_build.m4 2012-02-08 23:35:14 +0000
@@ -60,7 +60,15 @@
60 PANDORA_VC_REVNO="${PANDORA_BZR_REVNO}"60 PANDORA_VC_REVNO="${PANDORA_BZR_REVNO}"
61 PANDORA_VC_REVID=`bzr log -r-1 --show-ids | grep revision-id | cut -f2 -d' ' | head -1`61 PANDORA_VC_REVID=`bzr log -r-1 --show-ids | grep revision-id | cut -f2 -d' ' | head -1`
62 PANDORA_VC_BRANCH=`bzr nick`62 PANDORA_VC_BRANCH=`bzr nick`
63 # Check if this branch has just been tagged (not yet committed)
63 PANDORA_VC_TAG=`bzr tags -r-1 | cut -f1 -d' ' | head -1`64 PANDORA_VC_TAG=`bzr tags -r-1 | cut -f1 -d' ' | head -1`
65 # If not, then check if we have checked out a branch where most recent commit
66 # was tagged, and there are no further (uncommitted) changes in the branch.
67 if test "x${PANDORA_VC_TAG}" = "x"; then
68 if test `bzr diff | wc -l` = 0; then
69 PANDORA_VC_TAG=`bzr tags -r-2 | cut -f1 -d' ' | head -1`
70 fi
71 fi
64 PANDORA_VC_LATEST_TAG=`bzr tags --sort=time | grep -v '\?'| cut -f1 -d' ' | tail -1`72 PANDORA_VC_LATEST_TAG=`bzr tags --sort=time | grep -v '\?'| cut -f1 -d' ' | tail -1`
65 if test "x${vc_changelog}" = "xyes"; then73 if test "x${vc_changelog}" = "xyes"; then
66 bzr log --gnu > ChangeLog74 bzr log --gnu > ChangeLog
@@ -128,14 +136,26 @@
128 136
129 AS_IF([test "x${PANDORA_VC_TAG}" != "x"],[137 AS_IF([test "x${PANDORA_VC_TAG}" != "x"],[
130 PANDORA_RELEASE_VERSION="${PANDORA_VC_TAG}"138 PANDORA_RELEASE_VERSION="${PANDORA_VC_TAG}"
139 # We now support release tags to append a descriptive tag -stable, -rc, -beta, -alpha, -milestone.
140 # But for the release id we want to remove that.
141 PANDORA_VC_TAG_JUST_NUMBERS=`echo ${PANDORA_VC_TAG} | sed -e 's/-stable//' -e 's/-rc//' -e 's/-beta//' -e 's/-alpha//' -e 's/-milestone//'`
142 # For release id we make sure each part is at least 2 digits, prepended with 0 when necessary.
143 # Example: 1.2.3 should end up as 10203.
144 # The sed's from left to right:
145 # 1) Make sure minor version has at least 2 digits (2 -> 02)
146 # 2) Make sure build version has at least 2 digits (3 -> 03)
147 # 3) Remove dots (1.02.03 -> 10203)
131 changequote(<<, >>)dnl148 changequote(<<, >>)dnl
132 PANDORA_RELEASE_ID=`echo ${PANDORA_RELEASE_VERSION} | sed 's/[^0-9]//g'`149 PANDORA_RELEASE_ID=`echo ${PANDORA_VC_TAG_JUST_NUMBERS} | sed -e 's/\.\([0-9]\)\./.0\1./' | sed -e 's/\.\([0-9]\)$/.0\1/' | sed 's/[^0-9]//g'`
133 changequote([, ])dnl150 changequote([, ])dnl
134 ],[151 ],[
135 AS_IF([test "x${PANDORA_VC_LATEST_TAG}" != "x"],[152 AS_IF([test "x${PANDORA_VC_LATEST_TAG}" != "x"],[
136 PANDORA_RELEASE_VERSION="${PANDORA_VC_LATEST_TAG}.${PANDORA_VC_REVNO}"153 # We now support release tags to append a descriptive tag -stable, -rc, -beta, -alpha, -milestone.
154 # Since this is just a snapshot build, we need to remove that.
155 PANDORA_VC_LATEST_TAG_JUST_NUMBERS=`echo ${PANDORA_VC_LATEST_TAG} | sed -e 's/-stable//' -e 's/-rc//' -e 's/-beta//' -e 's/-alpha//' -e 's/-milestone//'`
156 PANDORA_RELEASE_VERSION="${PANDORA_VC_LATEST_TAG_JUST_NUMBERS}.${PANDORA_VC_REVNO}-snapshot"
137 changequote(<<, >>)dnl157 changequote(<<, >>)dnl
138 PANDORA_RELEASE_ID=`echo ${PANDORA_VC_LATEST_TAG} | sed 's/[^0-9]//g'`158 PANDORA_RELEASE_ID=`echo ${PANDORA_VC_LATEST_TAG_JUST_NUMBERS} | sed -e 's/\.\([0-9]\)\./.0\1./' | sed -e 's/\.\([0-9]\)$/.0\1/' | sed 's/[^0-9]//g'`
139 changequote([, ])dnl159 changequote([, ])dnl
140 ],[160 ],[
141 PANDORA_RELEASE_VERSION="${PANDORA_RELEASE_DATE}.${PANDORA_VC_REVNO}"161 PANDORA_RELEASE_VERSION="${PANDORA_RELEASE_DATE}.${PANDORA_VC_REVNO}"
142162
=== modified file 'plugin/auth_ldap/docs/index.rst'
--- plugin/auth_ldap/docs/index.rst 2012-02-05 04:23:43 +0000
+++ plugin/auth_ldap/docs/index.rst 2012-02-08 23:35:14 +0000
@@ -418,12 +418,12 @@
418418
419You could just setup Drizzle to authenticate against standard LDAP accounts like419You could just setup Drizzle to authenticate against standard LDAP accounts like
420John Doe above. But the recommended way is to add a specific Drizzle schema.420John Doe above. But the recommended way is to add a specific Drizzle schema.
421You will find this in ``$DRIZZLE_ROOT/share/drizzle7/drizzle_openldap.ldif``.421You will find this in ``$DRIZZLE_ROOT/share/drizzle/drizzle_openldap.ldif``.
422You can add it to your LDAP schema like this:422You can add it to your LDAP schema like this:
423423
424.. code-block:: none424.. code-block:: none
425 425
426 $ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f share/drizzle7/drizzle_openldap.ldif 426 $ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f share/drizzle/drizzle_openldap.ldif
427 SASL/EXTERNAL authentication started427 SASL/EXTERNAL authentication started
428 SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth428 SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
429 SASL SSF: 0429 SASL SSF: 0
@@ -464,7 +464,7 @@
464464
465.. code-block:: none465.. code-block:: none
466 466
467 $ share/drizzle7/drizzle_create_ldap_user -p secret -b bin/drizzle_password_hash -u hingo -n 1 -l "ou=people,dc=example,dc=com" > hingo.example.com.ldif467 $ share/drizzle/drizzle_create_ldap_user -p secret -b bin/drizzle_password_hash -u hingo -n 1 -l "ou=people,dc=example,dc=com" > hingo.example.com.ldif
468 $ cat hingo.example.com.ldif 468 $ cat hingo.example.com.ldif
469 dn: uid=hingo,ou=people,dc=example,dc=com 469 dn: uid=hingo,ou=people,dc=example,dc=com
470 objectclass: top 470 objectclass: top
471471
=== modified file 'plugin/innobase/xtrabackup/xtrabackup.cc'
--- plugin/innobase/xtrabackup/xtrabackup.cc 2012-02-05 04:23:43 +0000
+++ plugin/innobase/xtrabackup/xtrabackup.cc 2012-02-08 23:35:14 +0000
@@ -634,7 +634,7 @@
634static void print_version(void)634static void print_version(void)
635{635{
636 printf("%s Ver %s Rev %s for %s %s (%s)\n" ,my_progname,636 printf("%s Ver %s Rev %s for %s %s (%s)\n" ,my_progname,
637 XTRABACKUP_VERSION, XTRABACKUP_REVISION, "Drizzle7",637 XTRABACKUP_VERSION, XTRABACKUP_REVISION, "Drizzle",
638 TARGET_OS, TARGET_CPU);638 TARGET_OS, TARGET_CPU);
639}639}
640640
641641
=== renamed file 'support-files/drizzle7.pc.in' => 'support-files/drizzle.pc.in'
--- support-files/drizzle7.pc.in 2012-02-08 06:30:51 +0000
+++ support-files/drizzle.pc.in 2012-02-08 23:35:14 +0000
@@ -3,7 +3,7 @@
3libdir=@libdir@3libdir=@libdir@
4pkgincludedir=@pkgincludedir@4pkgincludedir=@pkgincludedir@
55
6Name: drizzle76Name: drizzle
7Description: Drizzle CLI7Description: Drizzle CLI
8Version: @VERSION@8Version: @VERSION@
9URL: http://drizzle.org/9URL: http://drizzle.org/
1010
=== modified file 'support-files/include.am'
--- support-files/include.am 2012-02-05 04:23:43 +0000
+++ support-files/include.am 2012-02-08 23:35:14 +0000
@@ -27,6 +27,6 @@
2727
28pkgconfigdir= $(libdir)/pkgconfig28pkgconfigdir= $(libdir)/pkgconfig
29pkgconfig_DATA= \29pkgconfig_DATA= \
30 support-files/drizzle7.pc \30 support-files/drizzle.pc \
31 support-files/libdrizzle.pc \31 support-files/libdrizzle.pc \
32 support-files/libdrizzle-1.0.pc32 support-files/libdrizzle-1.0.pc
3333
=== modified file 'tests/r/comments.result'
--- tests/r/comments.result 2011-03-06 23:59:06 +0000
+++ tests/r/comments.result 2012-02-08 23:35:14 +0000
@@ -11,8 +11,8 @@
111 +1111 +1
122122
13select 1 /*!72301 +1 */;13select 1 /*!72301 +1 */;
141 +1141
152151
16select 1--1;16select 1--1;
171--1171--1
182182
1919
=== modified file 'tests/valgrind.supp'
--- tests/valgrind.supp 2012-02-05 04:23:43 +0000
+++ tests/valgrind.supp 2012-02-08 23:35:14 +0000
@@ -555,7 +555,7 @@
555 Memcheck:Leak555 Memcheck:Leak
556 fun:_Znwm556 fun:_Znwm
557 fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb557 fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
558 fun:_ZN8drizzled7Session12storeGlobalsEv558 fun:_ZN8drizzledSession12storeGlobalsEv
559 fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv559 fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
560 fun:main560 fun:main
561}561}
@@ -564,7 +564,7 @@
564 Memcheck:Leak564 Memcheck:Leak
565 fun:_Znwj565 fun:_Znwj
566 fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb566 fun:_ZN5boost6detail12set_tss_dataEPKvNS_10shared_ptrINS0_20tss_cleanup_functionEEEPvb
567 fun:_ZN8drizzled7Session12storeGlobalsEv567 fun:_ZN8drizzledSession12storeGlobalsEv
568 fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv568 fun:_ZN8drizzled21drizzle_rm_tmp_tablesEv
569 fun:main569 fun:main
570}570}
571571
=== modified file 'win32/config.h'
--- win32/config.h 2012-02-05 04:23:43 +0000
+++ win32/config.h 2012-02-08 23:35:14 +0000
@@ -34,6 +34,6 @@
3434
35#pragma once35#pragma once
3636
37#define PACKAGE_VERSION "drizzle7"37#define PACKAGE_VERSION "drizzle"
38#define PACKAGE_BUGREPORT "http://bugs.launchpad.net/drizzle"38#define PACKAGE_BUGREPORT "http://bugs.launchpad.net/drizzle"
3939