diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2018-08-08 20:25:39 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2018-08-08 20:25:39 +0000 |
commit | 1eb1f8cb7719c49af3fbb237ee9c88f967680ba6 (patch) | |
tree | e08803aa6aadc512e0b3fea0afb4ef2b61c4880f /databases/mariadb100-server/files | |
parent | New port: sysutils/rubygem-chef-dk: (diff) |
databases/mariadb100-server: Security update to 10.0.36
MFH: 2018Q3
Security: 909be51b-9b3b-11e8-add2-b499baebfeaf
Notes
Notes:
svn path=/head/; revision=476674
Diffstat (limited to 'databases/mariadb100-server/files')
-rw-r--r-- | databases/mariadb100-server/files/patch-MDEV-15768 | 72 | ||||
-rw-r--r-- | databases/mariadb100-server/files/patch-mysys_stacktrace.c | 2 |
2 files changed, 2 insertions, 72 deletions
diff --git a/databases/mariadb100-server/files/patch-MDEV-15768 b/databases/mariadb100-server/files/patch-MDEV-15768 deleted file mode 100644 index af5d15864d61..000000000000 --- a/databases/mariadb100-server/files/patch-MDEV-15768 +++ /dev/null @@ -1,72 +0,0 @@ ---- storage/connect/tabjson.cpp.orig 2018-04-26 19:47:48 UTC -+++ storage/connect/tabjson.cpp -@@ -195,7 +195,7 @@ int JSONDISC::GetColumns(PGLOBAL g, PCSZ - tdp->Fn = GetStringTableOption(g, topt, "Filename", NULL); - - if (!(tdp->Database = SetPath(g, db))) -- return NULL; -+ return 0; - - tdp->Objname = GetStringTableOption(g, topt, "Object", NULL); - tdp->Base = GetIntegerTableOption(g, topt, "Base", 0) ? 1 : 0; -@@ -243,14 +243,14 @@ int JSONDISC::GetColumns(PGLOBAL g, PCSZ - tjsp = new(g) TDBJSON(tdp, new(g) MAPFAM(tdp)); - - if (tjsp->MakeDocument(g)) -- return NULL; -+ return 0; - - jsp = (tjsp->GetDoc()) ? tjsp->GetDoc()->GetValue(0) : NULL; - } else { - if (!(tdp->Lrecl = GetIntegerTableOption(g, topt, "Lrecl", 0))) - if (!mgo) { - sprintf(g->Message, "LRECL must be specified for pretty=%d", tdp->Pretty); -- return NULL; -+ return 0; - } else - tdp->Lrecl = 8192; // Should be enough - -@@ -261,7 +261,7 @@ int JSONDISC::GetColumns(PGLOBAL g, PCSZ - tjnp = new(g)TDBJSN(tdp, new(g) UNZFAM(tdp)); - #else // !ZIP_SUPPORT - sprintf(g->Message, MSG(NO_FEAT_SUPPORT), "ZIP"); -- return NULL; -+ return 0; - #endif // !ZIP_SUPPORT - } else if (tdp->Uri) { - if (tdp->Driver && toupper(*tdp->Driver) == 'C') { -@@ -269,14 +269,14 @@ int JSONDISC::GetColumns(PGLOBAL g, PCSZ - tjnp = new(g) TDBJSN(tdp, new(g) CMGFAM(tdp)); - #else - sprintf(g->Message, "Mongo %s Driver not available", "C"); -- return NULL; -+ return 0; - #endif - } else if (tdp->Driver && toupper(*tdp->Driver) == 'J') { - #if defined(JAVA_SUPPORT) - tjnp = new(g) TDBJSN(tdp, new(g) JMGFAM(tdp)); - #else - sprintf(g->Message, "Mongo %s Driver not available", "Java"); -- return NULL; -+ return 0; - #endif - } else { // Driver not specified - #if defined(CMGO_SUPPORT) -@@ -285,7 +285,7 @@ int JSONDISC::GetColumns(PGLOBAL g, PCSZ - tjnp = new(g) TDBJSN(tdp, new(g) JMGFAM(tdp)); - #else - sprintf(g->Message, MSG(NO_FEAT_SUPPORT), "MONGO"); -- return NULL; -+ return 0; - #endif - } // endif Driver - -@@ -304,7 +304,7 @@ int JSONDISC::GetColumns(PGLOBAL g, PCSZ - tjnp->SetG(G); - - if (tjnp->OpenDB(g)) -- return NULL; -+ return 0; - - switch (tjnp->ReadDB(g)) { - case RC_EF: diff --git a/databases/mariadb100-server/files/patch-mysys_stacktrace.c b/databases/mariadb100-server/files/patch-mysys_stacktrace.c index 1f3bf5d5bc5a..93d636d4cdce 100644 --- a/databases/mariadb100-server/files/patch-mysys_stacktrace.c +++ b/databases/mariadb100-server/files/patch-mysys_stacktrace.c @@ -1,3 +1,5 @@ +https://jira.mariadb.org/browse/MDEV-15961 + --- mysys/stacktrace.c.orig 2018-01-27 18:40:37 UTC +++ mysys/stacktrace.c @@ -34,19 +34,19 @@ |