Module: kamailio
Branch: master
Commit: 32d1c9530fd64459da33dce60a25f319d65f7cb9
URL: https://github.com/kamailio/kamailio/commit/32d1c9530fd64459da33dce60a25f31…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-11-03T13:31:21+01:00
modules: readme files regenerated - usrloc ... [skip ci]
---
Modified: src/modules/usrloc/README
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]32d1c9530fd64459da33dce60a25f31…
Patch: https://github.com/kamailio/kamailio/commit/32d1c9530fd64459da33dce60a25f31…
---
diff --git a/src/modules/usrloc/README b/src/modules/usrloc/README
index b8faee9efb..74a9672951 100644
--- a/src/modules/usrloc/README
+++ b/src/modules/usrloc/README
@@ -924,7 +924,13 @@ modparam("usrloc", "db_raw_fetch_type", 1)
3.42. db_insert_null (int)
If set to 1, the insert operation to database will add null values in
- the sql statement.
+ the statement. It has to be set to 1 for the database systems that do
+ not have table definitions that create automatically the null fields
+ (e.g., db_mongodb) for each stored record.
+
+ When set to 0, the fiels that default to null are not added to the DB
+ insert statement if they don't have a different value, making the query
+ smaller.
Default value is “0” (don't add null fields in insert statement).
[View Less]
Module: kamailio
Branch: master
Commit: 7c52ffb920ec0552a8720833223a54813affe8ee
URL: https://github.com/kamailio/kamailio/commit/7c52ffb920ec0552a8720833223a548…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-03T13:21:11+01:00
usrloc: more docs for db_insert_null parameter
---
Modified: src/modules/usrloc/doc/usrloc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/…
[View More]7c52ffb920ec0552a8720833223a548…
Patch: https://github.com/kamailio/kamailio/commit/7c52ffb920ec0552a8720833223a548…
---
diff --git a/src/modules/usrloc/doc/usrloc_admin.xml b/src/modules/usrloc/doc/usrloc_admin.xml
index fde16498d7..f7ac066c29 100644
--- a/src/modules/usrloc/doc/usrloc_admin.xml
+++ b/src/modules/usrloc/doc/usrloc_admin.xml
@@ -1088,7 +1088,14 @@ modparam("usrloc", "db_raw_fetch_type", 1)
<title><varname>db_insert_null</varname> (int)</title>
<para>
If set to 1, the insert operation to database will add null values
- in the sql statement.
+ in the statement. It has to be set to 1 for the database systems
+ that do not have table definitions that create automatically the
+ null fields (e.g., db_mongodb) for each stored record.
+ </para>
+ <para>
+ When set to 0, the fiels that default to null are not
+ added to the DB insert statement if they don't have a different
+ value, making the query smaller.
</para>
<para>
<emphasis>
[View Less]
Module: kamailio
Branch: master
Commit: 8a56a10903c8c63409e92575d105e1e07f483a69
URL: https://github.com/kamailio/kamailio/commit/8a56a10903c8c63409e92575d105e1e…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-11-03T10:11:33+01:00
pkg/kamailio/deb: version set to 5.1.0~pre0
---
Modified: pkg/kamailio/deb/buster/changelog
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/…
[View More]jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog
---
Diff: https://github.com/kamailio/kamailio/commit/8a56a10903c8c63409e92575d105e1e…
Patch: https://github.com/kamailio/kamailio/commit/8a56a10903c8c63409e92575d105e1e…
---
diff --git a/pkg/kamailio/deb/buster/changelog b/pkg/kamailio/deb/buster/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/buster/changelog
+++ b/pkg/kamailio/deb/buster/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
diff --git a/pkg/kamailio/deb/debian/changelog b/pkg/kamailio/deb/debian/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
diff --git a/pkg/kamailio/deb/jessie/changelog b/pkg/kamailio/deb/jessie/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
diff --git a/pkg/kamailio/deb/precise/changelog b/pkg/kamailio/deb/precise/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
diff --git a/pkg/kamailio/deb/stretch/changelog b/pkg/kamailio/deb/stretch/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
diff --git a/pkg/kamailio/deb/trusty/changelog b/pkg/kamailio/deb/trusty/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
diff --git a/pkg/kamailio/deb/wheezy/changelog b/pkg/kamailio/deb/wheezy/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
diff --git a/pkg/kamailio/deb/xenial/changelog b/pkg/kamailio/deb/xenial/changelog
index c141ede2f5..e050b15184 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre0) unstable; urgency=medium
+
+ * version set to 5.1.0-pre0
+
+ -- Victor Seva <vseva(a)debian.org> Fri, 03 Nov 2017 10:09:31 +0100
+
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
[View Less]
### Description
db_mysql.so fails to build using MariaDB 10.2 libs. Using kamailio 5.0.4 and MariaDB 10.2 on CentOS7 run `make all` and the build process crashes on `db_mysql.so` with the following errors:
```
[root@proxy:/usr/local/src/kamailio-5.0.4$]make all
make -C src/ all
make[1]: Entering directory `/usr/local/src/kamailio-5.0.4/src'
CC (gcc) [M db_mysql.so] km_my_con.o
In file included from km_my_con.c:31:0:
/usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should …
[View More]not be included by clients, include only <mysql.h> [-Wcpp]
#warning This file should not be included by clients, include only <mysql.h>
^
km_my_con.c: In function ‘db_mysql_new_connection’:
km_my_con.c:132:11: error: ‘MYSQL’ has no member named ‘reconnect’
ptr->con->reconnect = 1;
^
km_my_con.c:134:11: error: ‘MYSQL’ has no member named ‘reconnect’
ptr->con->reconnect = 0;
^
make[2]: *** [km_my_con.o] Error 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/local/src/kamailio-5.0.4/src'
make: *** [all] Error 2
```
Using offical mariadb 10.2 stable repo from mariadb.org:
```
MariaDB-client.x86_64 10.2.10-1.el7.centos @mariadb
MariaDB-common.x86_64 10.2.10-1.el7.centos @mariadb
MariaDB-compat.x86_64 10.2.10-1.el7.centos @mariadb
MariaDB-devel.x86_64 10.2.10-1.el7.centos @mariadb
MariaDB-server.x86_64 10.2.10-1.el7.centos @mariadb
```
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.0.4 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 16:49:14 Nov 1 2017 with gcc 4.8.5
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `uname -a`)
-->
```
Linux proxy.vm 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1296
[View Less]