Skip to content

Commit ce6616a

Browse files
committed
Merge 10.9 into 10.10
2 parents c21745d + 09fdd3a commit ce6616a

File tree

150 files changed

+3693
-1140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+3693
-1140
lines changed

client/mysqltest.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5262,6 +5262,7 @@ void do_shutdown_server(struct st_command *command)
52625262
if (!timeout || wait_until_dead(pid, timeout < 5 ? 5 : timeout))
52635263
{
52645264
(void) my_kill(pid, SIGKILL);
5265+
wait_until_dead(pid, 5);
52655266
}
52665267
}
52675268
DBUG_VOID_RETURN;

debian/autobake-deb.sh

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,34 +196,39 @@ dch -b -D "${LSBNAME}" -v "${VERSION}" "Automatic build with ${LOGSTRING}." --co
196196

197197
echo "Creating package version ${VERSION} ... "
198198

199-
BUILDPACKAGE_DPKGCMD=""
199+
BUILDPACKAGE_DPKGCMD=()
200+
201+
# Fakeroot test
202+
if fakeroot true; then
203+
BUILDPACKAGE_DPKGCMD+=( "fakeroot" "--" )
204+
fi
200205

201206
# Use eatmydata is available to build faster with less I/O, skipping fsync()
202207
# during the entire build process (safe because a build can always be restarted)
203208
if which eatmydata > /dev/null
204209
then
205-
BUILDPACKAGE_DPKGCMD="eatmydata"
210+
BUILDPACKAGE_DPKGCMD+=("eatmydata")
206211
fi
207212

208-
BUILDPACKAGE_DPKGCMD+="dpkg-buildpackage"
213+
BUILDPACKAGE_DPKGCMD+=("dpkg-buildpackage")
209214

210215
# Using dpkg-buildpackage args
211216
# -us Allow unsigned sources
212217
# -uc Allow unsigned changes
213218
# -I Tar ignore
214-
BUILDPACKAGE_DPKG_ARGS=(-us -uc -I)
219+
BUILDPACKAGE_DPKGCMD+=(-us -uc -I)
215220

216221
# There can be also extra flags that are appended to args
217222
if [ -n "$BUILDPACKAGE_FLAGS" ]
218223
then
219224
read -ra BUILDPACKAGE_TMP_ARGS <<< "$BUILDPACKAGE_FLAGS"
220-
BUILDPACKAGE_DPKG_ARGS=("${BUILDPACKAGE_DPKG_ARGS[@]} ${BUILDPACKAGE_TMP_ARGS[@]}")
225+
BUILDPACKAGE_DPKGCMD+=( "${BUILDPACKAGE_TMP_ARGS[@]}" )
221226
fi
222227

223228
# Build the package
224229
# Pass -I so that .git and other unnecessary temporary and source control files
225230
# will be ignored by dpkg-source when creating the tar.gz source package.
226-
fakeroot -- "${BUILDPACKAGE_DPKGCMD}" "${BUILDPACKAGE_DPKG_ARGS[@]}"
231+
"${BUILDPACKAGE_DPKGCMD[@]}"
227232

228233
# If the step above fails due to missing dependencies, you can manually run
229234
# sudo mk-build-deps debian/control -r -i

debian/control

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,7 @@ Depends: libxml2,
817817
unixodbc,
818818
${misc:Depends},
819819
${shlibs:Depends}
820+
Recommends: curl
820821
Breaks: mariadb-connect-engine-10.0,
821822
mariadb-connect-engine-10.1,
822823
mariadb-connect-engine-10.2,

0 commit comments

Comments
 (0)