On 2012-07-24 22:13, Stefan Manegold wrote:
> Changeset: 805110fd0096 for MonetDB
> URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=805110fd0096
> Modified Files:
> gdk/gdk_bat.c
> Branch: xid
> Log Message:
>
> BATassertHeadProps: avoid property checking on xid-compressed BATs
> their content is not plain valid data,
> and their properties are those of the uncompressed BAT
>
>
> diffs (13 lines):
>
> diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
> --- a/gdk/gdk_bat.c
> +++ b/gdk/gdk_bat.c
> @@ -2892,6 +2892,9 @@ BATassertHeadProps(BAT *b)
> return;
> }
>
> +
> + /* no property checking on xid-compressed BATs */
> + if (b->htype != TYPE_oid || !b->H->heap.xidcompressed)
> PROPDEBUG { /* only do a scan if property checking is requested */
> if (b->hsorted || b->hrevsorted || !b->hkey) {
> /* if sorted (either way), or we don't have to
I really don't like this layout.
Please consider using return after the if statement (with complementary
test). I would also find that clearer.
--
Sjoerd Mullender
Hi
I want to be able to use all the SQL related functions using PHP on
monetdb. As far as I understand, the newer versions of monetdb state that
the PHP interface is completely written in PHP and need not be built. Is
this interface same as the php_mapi.in and the php_monetdb.php? If so, I
haven't seen any support for all the SQL related function like
query_params. Please correct me if I am wrong. I am new to MonetDB. I had
initially stumbled upon one of the old server reference manuals which had
indicated of an option to build monetdb for php_monetdb.dll php extension.
But then I started off with the incorrect version of the source (the
tarball) and hit all sorts of errors. Then I was told to use the HG
version. At which point I checked the windowsbuild.rst which stated that
the PHP need not be built. So I just needed a confirmation whether building
php_monetdb.dll is supported even in the latest releases or I need to make
use of the php_monetdb.php file or there's any other way of getting all the
SQL related functions? If php_monetdb.php is the answer, please let me know
how to make use of it.
Thank you
Suchitra
The MonetDB team at CWI/MonetDB BV is pleased to announce the
Jul2012 feature release of the MonetDB suite of programs.
More information about MonetDB can be found on our website at
<http://www.monetdb.org/>.
For details on this release, please see the release notes at
<http://www.monetdb.org/Downloads/ReleaseNotes>.
As usual, the download location is <http://dev.monetdb.org/downloads/>.
Jul 2012 feature release
Build Environment * Created seperate RPM and DEB packages for
MonetDB/JAQL.
* Removed --enable-bits option from configure.
* Split the MonetDB-client-ruby RPM package into two
and named them in accordance with the Fedora
packaging guidelines as rubygem-<gem-name>.
SQL * COPY INTO now accepts optional parenthesis for file
argument. Binary COPY INTO now requires 'COPY BINARY
INTO'.
Client Package * ODBC: Fixed a bug where SQLNativeSql expected a
statment handle instead of a connection handle.
MonetDB5 Server * Crackers code has been removed. Development
continues in the holindex branch.
Merovingian * Fixed misc memory leaks, which caused monetdbd to
grow in memory size over time.
* Removed erroneously (re-)added master and slave
properties, this functionality is currently not
working.
MonetDB Common * Fixed intermittent problem that joins and selects
return incorrect results and possibly inconsistent
databases. The problems only occurred after a series
of queries and updates, therefore it was hard to
reproduce.
* The sorted property, which was used to maintain
whether a column in a BAT was sorted or reverse
sorted, has been replaced by a pair of properties,
sorted and revsorted. These new properties can be
set independently (unlike the old sorted property),
and so if both are set, the column must be constant.
In addition, internal property checking has been
overhauled. Now, when a property is set incorrectly,
and when assertions are enabled, an assertion will
go off. There is also a function which can derive
properties.
* Implemented proper overflow checking on all
arithmetic operations.
Bug Fixes * 3016: Overflowing double multiplication leads to
incorrect result
* 3091: Since Apr2012-SP1
!TypeException:user.s11_1[59]:'bat.reverse'
undefined in: _89:any := bat.reverse(_86:wrd)
* 3099: ambiguous attributes in query with WITH clause
and EXISTS clause
* 3100: charset problem with the odbc driver for
windows
* 3103: display_size and internal_size of
Cursor.description or incorrect
* 3105: Leaking using Python
* 3109: Wrong order in autoload mal script causes
warning on startup
* 3111: memory leak, monetdb set/get command
* 3112: Median over temporal domains
* 3113: Cannot set value of indexed column when doing
UPDATE
* 3114: Foreign Key prblems
* 3116: Segfault in SQL
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
The MonetDB checkins show over time a lot of de-mx operations. Why is
the preprocessor language being abandoned in favor of 'native' macro's?
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEAREKAAYFAlAEDa8ACgkQYH1+F2Rqwn2t3gCgiPrdrWFcxtBLIBWpVi/OTcx2
pywAoIdjsB8qXqGDjQqou0OKs5Esim8Q
=xXNR
-----END PGP SIGNATURE-----