mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* [TD-4132]<test>: add taosdump-testcase of boundary value testing
* [TD-3952]<test>: add taodemo-testcase that query with restful connector
* merge master
* modify taosdemo-testcase
* add testcase of async subscirbe and max sql num
* testcase-subscribe of super table
* testcase-modify sub
* modify subscribe testcase
* [TD-4238]<test>: add taodemo-testcase that records of number in request sql less than 32767
* add taosdemo-subscribe-testcase
* update taosdemo testcase
* temp commit
* temp commit
* temp commit
* temp1
* temp
* [TD-4835] add lua lib
* [TD-4369]<test>: add testcase of resubscibe
* [TD-4826]<fix>: new error code 0x0406 (Dnode is exiting) for tsc
* [TD-4369]<test>: add testcase of resubscibe and json file
* temp
* update master to develop's version
* Update boundary2.py
* [TD-4912]<hotfix>: fix coredump when drop vnode
* Hotfix/sangshuduo/td 3801 taosdump coverity scan issue (#6642)
* [TD-3801]<fix>: taosdump coverity scan issue.
* merge from commit: 069169e7c1 and fix coverity scan issue.
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
* [TD-4932]fix jenkins errors on master branch (#6645)
* [TD-4932]fix jenkins errors on master branch
* fix
* fix
* fix
* fix
* [TD-4132]<test>:modify taosdump-testcase of column length
* [TD-4918]<fix>: taosdemo subscribe endAfterResume. (#6653)
* [TD-4915]<fix> fix show-create-database except
* Hotfix/sangshuduo/td 4892 taosdemo sub fetch (#6669)
* [TD-4892]<fix>: taosdemo subscribe fetch result.
* fix stbname length.
* restrict prefix length.
* submit empty
* fix minor code.
* fix crash if no result file.
* decrease few debug print level.
* fix offset issue
* [TD-4987]<fix>: issues memory sanitizier detected. (#6675)
* [TD-4826]<fix>: no extra sleep if no message in vwqueue
* [TD-4593]<fix>: fix vnode cannnot close while syncing
* Hotfix/sangshuduo/td 4918 taosdemo sub afterconsume (#6685)
* [TD-4918]<fix>: taosdemo subscribe endAfterResume.
* fix mask length.
* fix heap use-after-free.
* Hotfix/sangshuduo/td 4987 detected by mem sanitizer (#6684)
* [TD-4987]<fix>: issues memory sanitizier detected.
* fix mask width issue.
* [TD-4828]<fix> handle dnode exit code
* Hotfix/sangshuduo/td 3973 use jemalloc for master (#6702)
* [TD-3973]<feature>: add jemalloc as submodule.
* [TD-3973]<feature>: add jemalloc as submodule.
* [TD-3973]<feature>: use jemalloc.
build works as following instructions:
cmake .. -DJEMALLOC_ENABLED=true
make
* fix jemalloc at tag 5.2.1
* fix conflicts
* make install works.
* fix conflicts.
* release script works.
* fix typo
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
* TD-4835
* only compile in lua
* [td-4748]<fix>:fix the temp file generate buf on windows platform.
* change cmake options
* [TD-5007]<fix>: use build directory's taosdump to test. (#6710)
btw, solve two taosdemo test cases too.
* Hotfix/sangshuduo/td 4838 taosdump binary len bug (#6713)
* [TD-4838]<fix>: taosdump binary length bug.
* taosdump code refactoring.
* fix arm32 compile issue.
Co-authored-by: tomchon <haoran920c@163.com>
Co-authored-by: Shengliang Guan <slguan@taosdata.com>
Co-authored-by: Minglei Jin <mljin@taosdata.com>
Co-authored-by: Baosheng Chang <changb9@mcmaster.ca>
Co-authored-by: Hongze Cheng <hzcheng@taosdata.com>
Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
Co-authored-by: Yiqing Liu <yqliu@taosdata.com>
Co-authored-by: Hui Li <52318143+plum-lihui@users.noreply.github.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
Co-authored-by: wpan <wpan@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
Co-authored-by: Haojun Liao <hjliao@taosdata.com>
136 lines
3.5 KiB
Groff
136 lines
3.5 KiB
Groff
.\" $Id: luac.man,v 1.28 2006/01/06 16:03:34 lhf Exp $
|
|
.TH LUAC 1 "$Date: 2006/01/06 16:03:34 $"
|
|
.SH NAME
|
|
luac \- Lua compiler
|
|
.SH SYNOPSIS
|
|
.B luac
|
|
[
|
|
.I options
|
|
] [
|
|
.I filenames
|
|
]
|
|
.SH DESCRIPTION
|
|
.B luac
|
|
is the Lua compiler.
|
|
It translates programs written in the Lua programming language
|
|
into binary files that can be later loaded and executed.
|
|
.LP
|
|
The main advantages of precompiling chunks are:
|
|
faster loading,
|
|
protecting source code from accidental user changes,
|
|
and
|
|
off-line syntax checking.
|
|
.LP
|
|
Pre-compiling does not imply faster execution
|
|
because in Lua chunks are always compiled into bytecodes before being executed.
|
|
.B luac
|
|
simply allows those bytecodes to be saved in a file for later execution.
|
|
.LP
|
|
Pre-compiled chunks are not necessarily smaller than the corresponding source.
|
|
The main goal in pre-compiling is faster loading.
|
|
.LP
|
|
The binary files created by
|
|
.B luac
|
|
are portable only among architectures with the same word size and byte order.
|
|
.LP
|
|
.B luac
|
|
produces a single output file containing the bytecodes
|
|
for all source files given.
|
|
By default,
|
|
the output file is named
|
|
.BR luac.out ,
|
|
but you can change this with the
|
|
.B \-o
|
|
option.
|
|
.LP
|
|
In the command line,
|
|
you can mix
|
|
text files containing Lua source and
|
|
binary files containing precompiled chunks.
|
|
This is useful to combine several precompiled chunks,
|
|
even from different (but compatible) platforms,
|
|
into a single precompiled chunk.
|
|
.LP
|
|
You can use
|
|
.B "'\-'"
|
|
to indicate the standard input as a source file
|
|
and
|
|
.B "'\--'"
|
|
to signal the end of options
|
|
(that is,
|
|
all remaining arguments will be treated as files even if they start with
|
|
.BR "'\-'" ).
|
|
.LP
|
|
The internal format of the binary files produced by
|
|
.B luac
|
|
is likely to change when a new version of Lua is released.
|
|
So,
|
|
save the source files of all Lua programs that you precompile.
|
|
.LP
|
|
.SH OPTIONS
|
|
Options must be separate.
|
|
.TP
|
|
.B \-l
|
|
produce a listing of the compiled bytecode for Lua's virtual machine.
|
|
Listing bytecodes is useful to learn about Lua's virtual machine.
|
|
If no files are given, then
|
|
.B luac
|
|
loads
|
|
.B luac.out
|
|
and lists its contents.
|
|
.TP
|
|
.BI \-o " file"
|
|
output to
|
|
.IR file ,
|
|
instead of the default
|
|
.BR luac.out .
|
|
(You can use
|
|
.B "'\-'"
|
|
for standard output,
|
|
but not on platforms that open standard output in text mode.)
|
|
The output file may be a source file because
|
|
all files are loaded before the output file is written.
|
|
Be careful not to overwrite precious files.
|
|
.TP
|
|
.B \-p
|
|
load files but do not generate any output file.
|
|
Used mainly for syntax checking and for testing precompiled chunks:
|
|
corrupted files will probably generate errors when loaded.
|
|
Lua always performs a thorough integrity test on precompiled chunks.
|
|
Bytecode that passes this test is completely safe,
|
|
in the sense that it will not break the interpreter.
|
|
However,
|
|
there is no guarantee that such code does anything sensible.
|
|
(None can be given, because the halting problem is unsolvable.)
|
|
If no files are given, then
|
|
.B luac
|
|
loads
|
|
.B luac.out
|
|
and tests its contents.
|
|
No messages are displayed if the file passes the integrity test.
|
|
.TP
|
|
.B \-s
|
|
strip debug information before writing the output file.
|
|
This saves some space in very large chunks,
|
|
but if errors occur when running a stripped chunk,
|
|
then the error messages may not contain the full information they usually do.
|
|
For instance,
|
|
line numbers and names of local variables are lost.
|
|
.TP
|
|
.B \-v
|
|
show version information.
|
|
.SH FILES
|
|
.TP 15
|
|
.B luac.out
|
|
default output file
|
|
.SH "SEE ALSO"
|
|
.BR lua (1)
|
|
.br
|
|
http://www.lua.org/
|
|
.SH DIAGNOSTICS
|
|
Error messages should be self explanatory.
|
|
.SH AUTHORS
|
|
L. H. de Figueiredo,
|
|
R. Ierusalimschy and
|
|
W. Celes
|
|
.\" EOF
|