Posted in October 9, 2009 ¬ 5:57 pmh.Ivan Smahin
You may set LogToSysLog variable to 1 (in the INI file or via vServer properties) to make vServer put log messages into the system log:
* Event log for Windows
* SysLog for Linux.
The default state of variable is off.
Posted in September 30, 2009 ¬ 11:58 amh.Ruslan Zasukhin
Working with Trevore Devore we have found that V4REV do not understand Binary Values if pass them into array of binds.
Problem is that external get array of MCstrings which contain {char*, len}. So external cannot differ strings from binaries.
Solution is like in REV DB. Developer must use prefix “*b” for array items, which contain binary values.
put 1 into binds[1]
put str into binds[2]
put binaryValue into binds["*b3"]
VREV external now is able to analyze names of array and found binary values.
Posted in September 21, 2009 ¬ 9:40 pmh.Ivan Smahin
In some cases we can avoid copying sub-query result to the temporary table. We can even use sub-query cursor “as is” – so it could be used as a result of the whole query. In other words there is almost zero overhead against a simple query.
For now such optimization can be applied if a query:
- contains only “*” item in the select list clause
- has no “where” clause
- has no “group by” clause
- has no “having” clause
- has no “distinct” clause
- is not a part of some join operation
- has no “order by” clause
- has no binding values
- sub-query is not a “union/except/intersect” result
Examples:
SELECT * FROM (SELECT * FROM t1 WHERE f1 > 5);
SELECT * FROM (SELECT t1.f1, t2 f1 FROM t1 JOIN t2 ON l1 WHERE t1.f1 > 5 AND t2.f1 <3);
Posted in September 21, 2009 ¬ 5:42 amh.Igor
I have add ‘preview’ and ‘comment’ properties to diagrams. Also added import and export to context menu.

Posted in September 15, 2009 ¬ 1:30 amh.Ruslan Zasukhin
We have add for VIEWs ability to be temporary, like we allow for Tables, Fields, Links. Temporary objects are not stored in the schema (.vdb file).
Also we have add for consistency IF NOT EXISTS clause to CREATE VIEW command.
Posted in September 12, 2009 ¬ 7:56 pmh.Ruslan Zasukhin
New Video lessons added:
VStudio Admin
1) VStudio -> Import via ODBC datasource.
VStudio Pro
2) VStudio Pro -> Reports -> Grouping
3) VStudio Pro -> Reports -> Controls -> Picture Field
4) VStudio Pro -> Reports -> Regions -> Report Header
Posted in September 8, 2009 ¬ 2:06 amh.Ruslan Zasukhin
Now scripts show dialog to ask for ADMIN password, and execute load/unload of a VSERVER under SUDO.
Posted in September 6, 2009 ¬ 12:39 amh.Ruslan Zasukhin
We have add into v4.3 support of default parameters for stored procedures.
CREATE PROCEDURE( IN param INT = 2 ) …
Posted in September 6, 2009 ¬ 12:20 amh.Ruslan Zasukhin
Most Valentina SQL commands of kind CREATE SOMETHING have clause ‘OR REPLACE’. You should understand that this clause forces DROP of existed object before new will be created. This means that all its sub-objects also will be deleted. To avoid this use ALTER command.
For 4.3 we have add ALTER VIEW command.
Posted in September 5, 2009 ¬ 11:05 amh.Ruslan Zasukhin
Thorsten have found that on Snow Leopard VServer crashes if scheduler is enabled.
Problem was in ICU ucal_open() method. It looks that something was changed in the ICU used by 10.6. Now they require 3d parameter LocalName.
FIXED.