Name
file_mkpath — Make a directory chain
Synopsis
              file_mkpath
            (
            | 
                    in path varchar , | 
inout 
istest
   integer
); | 
          
Description
This function requires dba privileges.
This is to create a directory chain i.e. 'a/b/c/d', where one or more elements in the path may not exist.
Parameters
path
string containing file system path to be crated as directory chain
istest
Variable for returning the error message. If specified, errors are not signalled.
Return Types
On success returns zero.
Errors
Table 24.34. Errors signalled by
| SQLState | Error Code | Error Text | Description | 
|---|---|---|---|
| 42000 | FA014 | Access to %s is denied due to access control in ini file | |
| 42000 | FA015 | Access to %s is denied due to access control in ini file | |
| 42000 | FA116 | Abnormally long path is passed as argument to sys_mkpath() |