Commit graph

550 commits

Author SHA1 Message Date
Joerg Bruehe
f5ec810027 Merge the bashism removal from 5.0 up to 5.1-build 2008-12-28 16:18:08 +01:00
timothy.smith@sun.com
3742489c37 Remove bashisms from BUILD/compile-dist and configure.in, so Bootstrap works on Solaris box; force GNU make in compile-dist; remove unportable "grep -q" from configure.in 2008-12-03 05:11:48 +01:00
Georgi Kodinov
90bc97a583 merged 5.1 main -> 5.1-bugteam 2008-11-06 16:18:25 +02:00
Evgeny Potemkin
d0c490e5e8 Bug#37870: Usage of uninitialized value caused failed assertion.
The convert_constant_item function converts a constant to integer using
field for condition like 'field = a_constant'. In some cases the
convert_constant_item is called for a subquery when outer select is already
being executed, so convert_constant_item saves field's value to prevent its
corruption. For EXPLAIN and at the prepare phase field's value isn't
initialized yet, thus when convert_constant_item tries to restore saved
value it fails assertion.

Now the convert_constant_item doesn't save/restore field's value if it's
haven't been read yet. Outer constant values are always saved.
2008-11-05 18:40:23 +03:00
kent.boortz@sun.com
a7a050770a Made dist support script more portable sh 2008-10-11 20:28:13 +02:00
Davi Arnaut
44fbfe6fdb Bug#38727: BUILD/compile-solaris-* scripts should compile MySQL with libmtmalloc
Link with mtmalloc on Solaris as it is done in our release builds.
Replace deprecated flag with the newer option as already done in
other scripts.
2008-09-30 17:57:48 -03:00
Chad MILLER
59ac54214b Merge from 5.0-bugteam local. 2008-08-18 13:33:00 -04:00
Chad MILLER
81470ec3e5 Bug#27526: BUILD/check_cpu misbehaving on Debian testing
more clever gcc version checking.
2008-08-18 13:28:46 -04:00
Davi Arnaut
f4b291c517 Add variation of compile-pentium-valgrind-max which does not build ndb. 2008-05-27 12:35:35 -03:00
joerg@trift2.
41658010d5 BUILD/Makefile.am
Post-merge fix:  Add those files which are new in version 5.1

This is the 5.1 version of the fix for
   Bug #34291  compile-amd64-debug-max-no-ndb missing
2008-04-18 16:58:47 +02:00
joerg@trift2.
92a9ba0b7e Merge trift2.:/MySQL/M50/bug34291-5.0
into  trift2.:/MySQL/M51/bug34291-5.1
2008-04-18 16:35:11 +02:00
joerg@trift2.
c29de2c3a5 Fix for Bug #34291 compile-amd64-debug-max-no-ndb missing
Include several "BUILD/compile-*" files in a source tarball ("make dist" target)
which might be useful to community users who want to build from source.

When merging this up, the "BUILD/compile-*" file list needs to be checked.
2008-04-17 18:41:23 +02:00
istruewing@stella.local
eabe082d6f Manual merge 2008-03-14 12:02:11 +01:00
kaa@kaamos.(none)
0a7052e4d3 Merge kaamos.(none):/data/src/mysql-5.1
into  kaamos.(none):/data/src/opt/mysql-5.1-opt
2008-03-12 11:19:46 +03:00
antony@pcg5ppc.xiphis.org
820068f1b7 Merge pcg5ppc.xiphis.org:/Network/Servers/anubis.xiphis.org/home/antony/work/mysql-5.1-engines
into  pcg5ppc.xiphis.org:/Network/Servers/anubis.xiphis.org/home/antony/work/merge.20080307/mysql-5.1
2008-03-07 13:46:29 -08:00
kaa@kaamos.(none)
5647dee192 Merge kaamos.(none):/data/src/mysql-5.1
into  kaamos.(none):/data/src/opt/mysql-5.1-opt
2008-02-17 14:57:01 +03:00
joerg@trift2.
51f81b0209 Merge trift2.:/MySQL/M51/clone-5.1
into  trift2.:/MySQL/M51/push-5.1
2008-02-13 13:40:53 +01:00
istruewing@stella.local
16be963007 Merge stella.local:/home2/mydev/mysql-5.1-amain
into  stella.local:/home2/mydev/mysql-5.1-axmrg
2008-02-11 12:07:19 +01:00
mikael@dator6.(none)
8135412387 WL#3834: New build script for system admins and developers
especially for MySQL Cluster Carrier Grade Edition
2008-02-08 00:12:34 +01:00
joerg@trift2.
d923252300 Ensure that man pages for "embedded" are included in the source.tar.gz
This fixes bug#34145.
2008-01-29 21:32:43 +01:00
gkodinov/kgeorge@macbook.gmz
1a8935f466 Bug #31326: No compile check of order of initializations
fixed -Wreorder warnings
2007-12-14 15:21:37 +02:00
hezx@hezx.(none)
81f04074ca Merge hezx.(none):/media/hda5/work/mysql/bkwork/bug#30998/mysql-5.0-rpl
into  hezx.(none):/media/hda5/work/mysql/bkwork/bug#30998/merge-mysql-5.1-new-rpl
2007-12-12 15:43:52 +08:00
mats@capulet.net
f4e881999a Adding build scripts for Solaris 10 on AMD64. 2007-11-10 11:03:07 +01:00
mats@capulet.net
9b838a6e66 Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl
into  capulet.net:/home/bk/mysql-5.0-rpl
2007-10-31 09:06:08 +01:00
kent@mysql.com/kent-amd64.(none)
a77f626cc9 autorun.sh:
After review changes
2007-10-29 22:48:58 +01:00
kent@mysql.com/kent-amd64.(none)
5218a5d033 autorun.sh:
Removed innobase from compile-dist, and let it use autorun.sh to avoid
  code duplication. Also corrected a problem when searching for one of
  "libtoolize" and "glibtoolize", now it honors the PATH setting (Bug#31405)
2007-10-29 20:12:44 +01:00
kent@kent-amd64.(none)
c7c8f41894 Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-build
into  mysql.com:/home/kent/bk/make-dist-stable/mysql-5.1-build
2007-09-26 18:49:09 +02:00
kent@mysql.com/kent-amd64.(none)
1b53e4a547 Makefile.am:
Always include all sub directories in "make dist"
  Removed incorrect comment
configure.in:
  Unconditionally list make files in AC_CONFIG_FILES
  Removed 'thread_dirs', it is not used
  Minor cleanup
compile-dist:
  Simplified the configure line needed for "make dist" to get it all
zlib.m4, ssl.m4:
  Unconditionally list make files in AC_CONFIG_FILES
Makefile.am:
  Removed DIST_SUBDIRS not needed
  Don't copy soft links as files into source package
2007-09-26 18:47:55 +02:00
malff/marcsql@weblab.(none)
2482c59740 Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base
into  weblab.(none):/home/marcsql/TREE/mysql-5.1-rt50-merge
2007-08-30 13:23:59 -06:00
kostja@bodhi.(none)
5b10ba2ce2 Add -Wno-unused to --warning-mode=pedantic, otherwise sql/ compilation
generated so many warnings that the mode was unusable.
2007-08-30 21:19:05 +04:00
malff/marcsql@weblab.(none)
e13d5cc335 Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-cleanup
into  weblab.(none):/home/marcsql/TREE/mysql-5.1-cleanup
2007-08-22 18:29:38 -06:00
malff/marcsql@weblab.(none)
7a1942d2e1 Do not use $static_link for GCOV builds,
since this flag was explicitly removed in pushbuild for GCOV builds.

 BUILD_CMD => ['sh', '-c', 'perl -i.bak -pe "s/ \\\\\$static_link//" ' .
              'BUILD/compile-pentium-gcov; BUILD/compile-pentium-gcov'],

Moving $static_link to SETUP.sh broke this, and is now fixed.

Should this flag be needed on some platforms,
the proper location is compile-<platform>-gcov

Tested the amd64 and pentium64 build fine without it, and can run NDB tests.
2007-08-22 18:11:01 -06:00
malff/marcsql@weblab.(none)
74bbe20546 Manual merge 2007-08-22 12:02:23 -06:00
malff/marcsql@weblab.(none)
e0b982fda1 Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-runtime
into  weblab.(none):/home/marcsql/TREE/mysql-5.1-rt50-merge
2007-08-22 11:51:03 -06:00
malff/marcsql@weblab.(none)
c6a395af09 Bug#23062 (GCOV build: helper scripts missing in the BUILD directory)
This patch provides compile helper scripts only,
no server logic is affected.

Before this patch, GCOV and GPROF build scripts were only provided for
pentium platforms.

With this patch, pentium, pentium64 and amd64 platforms have associated
helper build scripts.

The GCOV and GPROF specific compilation flags are set once in SETUP.sh,
to avoid code duplication.
2007-08-15 18:10:16 -06:00
monty@mysql.com/nosik.monty.fi
e53a73e26c Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris
Faster thr_alarm()
Added 'Opened_files' status variable to track calls to my_open()
Don't give warnings when running mysql_install_db
Added option --source-install to mysql_install_db

I had to do the following renames() as used polymorphism didn't work with Forte compiler on 64 bit systems
index_read()      -> index_read_map()
index_read_idx()  -> index_read_idx_map()
index_read_last() -> index_read_last_map()
2007-08-13 16:11:25 +03:00
mats@capulet.net
05cd3316a7 Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl
into  capulet.net:/home/bk/mysql-5.0-rpl
2007-08-03 13:09:53 +02:00
monty@mysql.com/nosik.monty.fi
96f90711a7 Fixes Bug#30127: --debug-info no longer prints memory usage in mysql
Fixed compiler warnings, errors and link errors
Fixed new bug on Solaris with gethrtime()
Added --debug-check option to all mysql clients to print errors and memory leaks
Added --debug-info to all clients. This now works as --debug-check but also prints memory and cpu usage
2007-08-01 22:59:05 +03:00
knielsen@ymer.(none)
e9f7bfd69d Merge ymer.(none):/usr/local/mysql/mysql-5.0-engines
into  ymer.(none):/usr/local/mysql/mysql-5.1-engines
2007-07-07 07:48:43 +02:00
knielsen@ymer.(none)
db649ad5d1 Bug #29543 GCov information not written in case of crash.
For GCov builds, if the server crashes, the normal exit handler for writing
coverage information is not executed due to the abnormal termination.

Fix this by explicitly calling the __gcov_flush function in our crash handler.
2007-07-07 07:46:17 +02:00
df@pippilotta.erinye.com
3584e6d2dc Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work-17707
into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work
2007-05-30 17:21:07 +02:00
df@pippilotta.erinye.com
407224f40a Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-17707
into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work
2007-05-30 17:20:58 +02:00
df@pippilotta.erinye.com
9e27458ca2 Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-17707
into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work-17707
2007-05-29 12:38:04 +02:00
df@pippilotta.erinye.com
82669a375c Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1-build-work-17707
into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-17707
2007-05-29 12:25:51 +02:00
df@pippilotta.erinye.com
1db91f163b BUG#17707 check-cpu script doesn't include Turion 2007-05-29 12:23:49 +02:00
mikron@mikael-ronstr-ms-dator.local
8a83924eb6 Merge mikael-ronstr-ms-dator.local:/Users/mikron/mysql_clones/mysql-5.0-ndb
into  mikael-ronstr-ms-dator.local:/Users/mikron/mysql_clones/mysql-5.1-ndb
2007-05-07 15:39:36 +02:00
mikron@mikael-ronstr-ms-dator.local
ad11366a2f New SCI Transporter Build scripts 2007-05-07 15:33:27 +02:00
df@pippilotta.erinye.com
f6aabc5abe Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.1-build
into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
2007-04-24 11:44:41 +02:00
mats@capulet.net
f3c7006a05 Adding build file for Solaris on AMD64 2007-04-12 13:20:38 +02:00
mats@capulet.net
1807f3a156 Adding build file for Solaris on AMD64 2007-04-12 09:47:45 +02:00