Merge pull request #26162 from taosdata/fix/TD-30542-3.0

fix/TD-30542
This commit is contained in:
Hongze Cheng 2024-06-20 09:39:13 +08:00 committed by GitHub
commit 60f06b1db5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
32 changed files with 352 additions and 320 deletions

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <assert.h> #include <assert.h>

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "taos_collector_registry_t.h" #include "taos_collector_registry_t.h"

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_REGISTRY_T_H #ifndef TAOS_REGISTRY_T_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_COLLECTOR_T_H #ifndef TAOS_COLLECTOR_T_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#define TAOS_STDIO_CLOSE_DIR_ERROR "failed to close dir" #define TAOS_STDIO_CLOSE_DIR_ERROR "failed to close dir"

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_LIST_I_INCLUDED #ifndef TAOS_LIST_I_INCLUDED

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_LIST_T_H #ifndef TAOS_LIST_T_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_MAP_I_INCLUDED #ifndef TAOS_MAP_I_INCLUDED

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_MAP_T_H #ifndef TAOS_MAP_T_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_METRIC_FORMATTER_CUSTOMV2_I_H #ifndef TAOS_METRIC_FORMATTER_CUSTOMV2_I_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_METRIC_FORMATTER_I_H #ifndef TAOS_METRIC_FORMATTER_I_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_METRIC_FORMATTER_T_H #ifndef TAOS_METRIC_FORMATTER_T_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
// Private // Private

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "taos_metric_sample_t.h" #include "taos_metric_sample_t.h"

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_METRIC_SAMPLE_T_H #ifndef TAOS_METRIC_SAMPLE_T_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_METRIC_T_H #ifndef TAOS_METRIC_T_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_MONITOR_UTIL_I_H #ifndef TAOS_MONITOR_UTIL_I_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_STRING_BUILDER_I_H #ifndef TAOS_STRING_BUILDER_I_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef TAOS_STRING_BUILDER_T_H #ifndef TAOS_STRING_BUILDER_T_H

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <pthread.h> #include <pthread.h>

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
// Public // Public

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
// Public // Public

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
// Public // Public

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <pthread.h> #include <pthread.h>

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <pthread.h> #include <pthread.h>

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <stdio.h> #include <stdio.h>

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#define ALLOW_FORBID_FUNC #define ALLOW_FORBID_FUNC

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */

View File

@ -1,16 +1,17 @@
/* /**
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com> * Copyright 2019-2020 DigitalOcean Inc.
* *
* This program is free software: you can use, redistribute, and/or modify * Licensed under the Apache License, Version 2.0 (the "License");
* it under the terms of the GNU Affero General Public License, version 3 * you may not use this file except in compliance with the License.
* or later ("AGPL"), as published by the Free Software Foundation. * You may obtain a copy of the License at
* *
* This program is distributed in the hope that it will be useful, but WITHOUT * http://www.apache.org/licenses/LICENSE-2.0
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
* *
* You should have received a copy of the GNU Affero General Public License * Unless required by applicable law or agreed to in writing, software
* along with this program. If not, see <http://www.gnu.org/licenses/>. * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <stddef.h> #include <stddef.h>