List:Commits« Previous MessageNext Message »
From:Horst.Hunger Date:October 27 2009 10:51am
Subject:bzr commit into mysql-5.5.0-next-mr-bugfixing branch (horst.hunger:2915)
Bug#47739
View as plain text  
#At file:///home/horst/bzr/mysql-47739/ based on revid:alik@stripped

 2915 Horst.Hunger	2009-10-27
      Fix for bug#47739: inserts of the review got lost. inserted them again with fixed copyright lines.

    modified:
      storage/archive/Makefile.am
=== modified file 'storage/archive/Makefile.am'
--- a/storage/archive/Makefile.am	2009-03-18 10:04:15 +0000
+++ b/storage/archive/Makefile.am	2009-10-27 10:51:28 +0000
@@ -1,5 +1,5 @@
-# Copyright (C) 2005-2006 MySQL AB
-#
+# Copyright (C) 2005-2006 MySQL AB, 2009 Sun Microsystems, Inc.
+# All rights reserved. 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; version 2 of the License.
@@ -68,14 +68,23 @@ archive_reader_LDFLAGS = @NOINST_LDFLAGS
 EXTRA_DIST =		CMakeLists.txt plug.in
 
 if HAVE_DTRACE_DASH_G
+# The object for static and dynamic linking of archive differ 
+# For static linkage of archive to mysqld 
 libarchive_a_LIBADD = probes_mysql.o
 libarchive_a_DEPENDENCIES = probes_mysql.o dtrace_files dtrace_providers
-CLEANFILES = probes_mysql.o dtrace_files dtrace_providers
+# For archive as shared library 
+ha_archive_la_LIBADD = probes_sh_mysql.o
+ha_archive_la_DEPENDENCIES = probes_sh_mysql.o dtrace_shared_files dtrace_providers
+
+CLEANFILES = $(DTRACEPROVIDER) dtrace_files dtrace_providers dtrace_shared_files
 DTRACEFILES = libarchive_a-ha_archive.o
+DTRACESHAREDFILES = .libs/ha_archive_la-ha_archive.o
 DTRACEPROVIDER = probes_mysql.d
 
 dtrace_files:
 	echo $(DTRACEFILES) > $@
+dtrace_shared_files:
+	echo $(DTRACESHAREDFILES) > $@
 dtrace_providers: probes_mysql.d
 	echo $(DTRACEPROVIDER) > $@
 probes_mysql.d:
@@ -83,6 +92,9 @@ probes_mysql.d:
 	$(CP) $(top_srcdir)/include/probes_mysql.d.base probes_mysql.d
 	echo timestamp > dtrace_sources
 
+probes_sh_mysql.o: $(DTRACEPROVIDER) $(DTRACESHAREDFILES)
+	$(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACESHAREDFILES) -o $@
+
 probes_mysql.o: $(DTRACEPROVIDER) $(DTRACEFILES)
 	$(DTRACE) $(DTRACEFLAGS) -G -s $(DTRACEPROVIDER) $(DTRACEFILES) -o $@
 endif


Attachment: [text/bzr-bundle] bzr/horst.hunger@sun.com-20091027105128-z0tt4rflwhr19l0g.bundle
Thread
bzr commit into mysql-5.5.0-next-mr-bugfixing branch (horst.hunger:2915)Bug#47739Horst.Hunger27 Oct